I ran a profile on one line code "import theano", found it was not the
compile process waste time
here is the prof_stat
Sun Sep 25 22:18:46 2016 prof.txt
6483778 function calls (6304277 primitive calls) in 31.997 seconds
Ordered by: internal time
List reduced from 5591 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
232 9.336 0.040 9.336 0.040 :0(acquire)
161257/3905 2.235 0.000 2.749 0.001
C:\Anaconda2764\lib\site-packages\theano\scalar\basic.py:3532(compose_impl)
5194 1.958 0.000 17.169 0.003 :0(load)
11789 1.459 0.000 3.232 0.000
C:\Anaconda2764\lib\site-packages\theano\gof\graph.py:603(stack_search)
11778 1.228 0.000 5.408 0.000
C:\Anaconda2764\lib\site-packages\theano\gof\graph.py:875(general_toposort)
684925 0.675 0.000 0.675 0.000 :0(append)
691630/691625 0.667 0.000 0.669 0.000 :0(isinstance)
451815 0.598 0.000 0.598 0.000 :0(hasattr)
142305 0.542 0.000 0.715 0.000
C:\Anaconda2764\lib\site-packages\theano\gof\graph.py:988(compute_deps_cache)
98154 0.514 0.000 0.514 0.000 :0(index)
15835 0.514 0.000 0.515 0.000 :0(open)
2 0.483 0.241 20.187 10.094
C:\Anaconda2764\lib\site-packages\theano\gof\cmodule.py:681(refresh)
347073 0.414 0.000 0.414 0.000 :0(get)
359859 0.405 0.000 0.407 0.000 :0(add)
3912 0.394 0.000 3.078 0.001
C:\Anaconda2764\lib\site-packages\theano\gof\fg.py:372(__import__)
2 0.392 0.196 0.392 0.196 :0(gpu_init)
1 0.374 0.374 0.374 0.374
C:\Anaconda2764\lib\site-packages\sympy\utilities\runtests.py:1804(PyTestReporter)
8048 0.345 0.000 0.438 0.000
C:\Anaconda2764\lib\collections.py:50(__init__)
47312 0.291 0.000 0.597 0.000
C:\Anaconda2764\lib\copy.py:123(_copy_inst)
310805 0.267 0.000 0.267 0.000 :0(id)
what can I do?
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.