Search Results
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 |
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
2k
views
Change priority of cell execution in jupyter notebook?
I am sometimes in the following situation:
I want to execute two cells: Cell 1 takes on the order of 10 minutes or hours. Cell 2 will take 1 second.
I'd rather execute cell 2 first and see the resul …
1
vote
2
answers
894
views
problems with installing tensorflow using anaconda [closed]
I am trying to use anaconda 4.5.12 to install tensorflow on an Ubuntu 18.04.1 LTS system with python 3.7.1 and pycharm 2018.3.3. …
0
votes
1
answer
40
views
How is this tensorflow command interpreted?
I am reading an introductory tutorial on tensorflow here, and I'm confused about the code that defines an input layer for a word2vec embedding:
# Headline input: meant to receive sequences of 100 int …
1
vote
1
answer
97
views
Arguments in python fast.ai function that are not in the function definition?
How does this work in python? …
2
votes
1
answer
2k
views
gpu pytorch code way slower than cpu code?
I have the following pytorch code in a jupyter notebook:
import torch
t_cpu = torch.rand(500,500,500)
%timeit t_cpu @ t_cpu
Which outputs:
422 ms ± 3.93 ms per loop (mean ± std. dev. of 7 runs, 1 …