Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 75405

Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).

2 votes
1 answer
5k views

tensorflow: is there a way to specify XLA_GPU with tensorflow?

The following code is used to specify device on which tf node is running with tf.device('/gpu:0'): a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a') I have already known: th …
JJJohn's user avatar
  • 623
3 votes
1 answer
1k views

tensorflow: is there a way to specify XLA_GPU with tensorflow?

following code is used to specify device on which tf node is running on with tf.device('/gpu:0'): a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a') i have already known: thi …
JJJohn's user avatar
  • 623
3 votes
1 answer
6k views

Is there a way to put a separate line between clusters for k-Means Clustering?

k-Means Clustering is a method of vector quantization, originally from signal processing, that is popular for cluster analysis in data mining. here is a piece of code to perform a 2-d k-Means Cluster …
JJJohn's user avatar
  • 623