Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.05 KB | None | 0 0
  1. floatX (('float64', 'float32', 'float16'))
  2. Doc: Default floating-point precision for python casts.
  3.  
  4. Note: float16 support is experimental, use at your own risk.
  5. Value: float64
  6.  
  7. warn_float64 (('ignore', 'warn', 'raise', 'pdb'))
  8. Doc: Do an action when a tensor variable with float64 dtype is created. They can't be run on the GPU with the current(old) gpu back-end and are slow with gamer GPUs.
  9. Value: ignore
  10.  
  11. cast_policy (('custom', 'numpy+floatX'))
  12. Doc: Rules for implicit type casting
  13. Value: custom
  14.  
  15. int_division (('int', 'raise', 'floatX'))
  16. Doc: What to do when one computes x / y, where both x and y are of integer types
  17. Value: int
  18.  
  19. device (cpu, gpu*, opencl*, cuda*)
  20. Doc: Default device for computations. If cuda* or opencl*, change thedefault to try to move computation to the GPU. Do not use upper caseletters, only lower case even if NVIDIA uses capital letters.
  21. Value: cuda0
  22.  
  23. init_gpu_device (, gpu*, opencl*, cuda*)
  24. Doc: Initialize the gpu device to use, works only if device=cpu. Unlike 'device', setting this option will NOT move computations, nor shared variables, to the specified GPU. It can be used to run GPU-specific tests on a particular GPU.
  25. Value:
  26.  
  27. force_device (<function BoolParam.<locals>.booltype at 0x7f2214c72268>)
  28. Doc: Raise an error if we can't use the specified device
  29. Value: False
  30.  
  31. conv.assert_shape (<function BoolParam.<locals>.booltype at 0x7f2214c72400>)
  32. Doc: If True, AbstractConv* ops will verify that user-provided shapes match the runtime shapes (debugging option, may slow down compilation)
  33. Value: False
  34.  
  35. print_global_stats (<function BoolParam.<locals>.booltype at 0x7f2214c72598>)
  36. Doc: Print some global statistics (time spent) at the end
  37. Value: False
  38.  
  39. <theano.configdefaults.ContextsParam object at 0x7f2215325898>
  40. Doc:
  41. Context map for multi-gpu operation. Format is a
  42. semicolon-separated list of names and device names in the
  43. 'name->dev_name' format. An example that would map name 'test' to
  44. device 'cuda0' and name 'test2' to device 'opencl0:0' follows:
  45. "test->cuda0;test2->opencl0:0".
  46.  
  47. Invalid context names are 'cpu', 'cuda*' and 'opencl*'
  48.  
  49. Value:
  50.  
  51. print_active_device (<function BoolParam.<locals>.booltype at 0x7f2214c72840>)
  52. Doc: Print active device at when the GPU device is initialized.
  53. Value: True
  54.  
  55. enable_initial_driver_test (<function BoolParam.<locals>.booltype at 0x7f2214c729d8>)
  56. Doc: Tests the nvidia driver when a GPU device is initialized.
  57. Value: True
  58.  
  59. cuda.root (<class 'str'>)
  60. Doc: directory with bin/, lib/, include/ for cuda utilities.
  61. This directory is included via -L and -rpath when linking
  62. dynamically compiled modules. If AUTO and nvcc is in the
  63. path, it will use one of nvcc parent directory. Otherwise
  64. /usr/local/cuda will be used. Leave empty to prevent extra
  65. linker directives. Default: environment variable "CUDA_ROOT"
  66. or else "AUTO".
  67.  
  68. Value: /usr/local/cuda
  69.  
  70. cuda.enabled (<function BoolParam.<locals>.booltype at 0x7f2214c72c80>)
  71. Doc: If false, C code in old backend is not compiled.
  72. Value: True
  73.  
  74. <theano.configparser.ConfigParam object at 0x7f2214c6ccf8>
  75. Doc: Extra compiler flags for nvcc
  76. Value:
  77.  
  78. nvcc.compiler_bindir (<class 'str'>)
  79. Doc: If defined, nvcc compiler driver will seek g++ and gcc in this directory
  80. Value:
  81.  
  82. nvcc.fastmath (<function BoolParam.<locals>.booltype at 0x7f2214c72f28>)
  83. Doc:
  84. Value: True
  85.  
  86. nvcc.cudafe (('always', 'heuristic'))
  87. Doc: If 'always' (the default), cudafe will be called for every GPU Op compilation. If 'heuristic', it will only be called if the source code appears to contain CUDA code. This can speed up compilation and importing theano, but might fail to compile some custom GPU Ops.
  88. Value: always
  89.  
  90. gpuarray.sync (<function BoolParam.<locals>.booltype at 0x7f2214c741e0>)
  91. Doc: If True, every op will make sure its work is done before
  92. returning. Setting this to True will slow down execution,
  93. but give much more accurate results in profiling.
  94. Value: False
  95.  
  96. gpuarray.preallocate (<class 'float'>)
  97. Doc: If negative it disables the allocation cache. If
  98. between 0 and 1 it enables the allocation cache and
  99. preallocates that fraction of the total GPU memory. If 1
  100. or greater it will preallocate that amount of memory (in
  101. megabytes).
  102. Value: 0.0
  103.  
  104. gpuarray.sched (('default', 'multi', 'single'))
  105. Doc: The sched parameter passed for context creation to pygpu.
  106. With CUDA, using "multi" is equivalent to using the parameter
  107. cudaDeviceScheduleYield. This is useful to lower the
  108. CPU overhead when waiting for GPU. One user found that it
  109. speeds up his other processes that was doing data augmentation.
  110.  
  111. Value: default
  112.  
  113. gpuarray.single_stream (<function BoolParam.<locals>.booltype at 0x7f2214c74488>)
  114. Doc:
  115. If your computations are mostly lots of small elements,
  116. using single-stream will avoid the synchronization
  117. overhead and usually be faster. For larger elements it
  118. does not make a difference yet. In the future when true
  119. multi-stream is enabled in libgpuarray, this may change.
  120. If you want to make sure to have optimal performance,
  121. check both options.
  122.  
  123. Value: True
  124.  
  125. <theano.configparser.ConfigParam object at 0x7f2214c750f0>
  126. Doc: This flag is deprecated; use dnn.conv.algo_fwd.
  127. Value: True
  128.  
  129. <theano.configparser.ConfigParam object at 0x7f2214c75160>
  130. Doc: This flag is deprecated; use `dnn.conv.algo_bwd_filter` and `dnn.conv.algo_bwd_data` instead.
  131. Value: True
  132.  
  133. <theano.configparser.ConfigParam object at 0x7f2214c75208>
  134. Doc: This flag is deprecated; use dnn.conv.algo_bwd_data and dnn.conv.algo_bwd_filter.
  135. Value: True
  136.  
  137. dnn.conv.algo_fwd (('small', 'none', 'large', 'fft', 'fft_tiling', 'winograd', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
  138. Doc: Default implementation to use for cuDNN forward convolution.
  139. Value: small
  140.  
  141. dnn.conv.algo_bwd_data (('none', 'deterministic', 'fft', 'fft_tiling', 'winograd', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
  142. Doc: Default implementation to use for cuDNN backward convolution to get the gradients of the convolution with regard to the inputs.
  143. Value: none
  144.  
  145. dnn.conv.algo_bwd_filter (('none', 'deterministic', 'fft', 'small', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
  146. Doc: Default implementation to use for cuDNN backward convolution to get the gradients of the convolution with regard to the filters.
  147. Value: none
  148.  
  149. dnn.conv.precision (('as_input_f32', 'as_input', 'float16', 'float32', 'float64'))
  150. Doc: Default data precision to use for the computation in cuDNN convolutions (defaults to the same dtype as the inputs of the convolutions, or float32 if inputs are float16).
  151. Value: as_input_f32
  152.  
  153. dnn.include_path (<class 'str'>)
  154. Doc: Location of the cudnn header (defaults to the cuda root)
  155. Value: /usr/local/cuda/include
  156.  
  157. dnn.library_path (<class 'str'>)
  158. Doc: Location of the cudnn header (defaults to the cuda root)
  159. Value: /usr/local/cuda/lib64
  160.  
  161. dnn.enabled (('auto', 'True', 'False'))
  162. Doc: 'auto', use cuDNN if available, but silently fall back to not using it if not present. If True and cuDNN can not be used, raise an error. If False, disable cudnn
  163. Value: auto
  164.  
  165. assert_no_cpu_op (('ignore', 'warn', 'raise', 'pdb'))
  166. Doc: Raise an error/warning if there is a CPU op in the computational graph.
  167. Value: ignore
  168.  
  169. mode (('Mode', 'DebugMode', 'FAST_RUN', 'NanGuardMode', 'FAST_COMPILE', 'DEBUG_MODE'))
  170. Doc: Default compilation mode
  171. Value: Mode
  172.  
  173. cxx (<class 'str'>)
  174. Doc: The C++ compiler to use. Currently only g++ is supported, but supporting additional compilers should not be too difficult. If it is empty, no C++ code is compiled.
  175. Value: /usr/bin/g++
  176.  
  177. linker (('cvm', 'c|py', 'py', 'c', 'c|py_nogc', 'vm', 'vm_nogc', 'cvm_nogc'))
  178. Doc: Default linker used if the theano flags mode is Mode
  179. Value: cvm
  180.  
  181. allow_gc (<function BoolParam.<locals>.booltype at 0x7f2214c7f8c8>)
  182. Doc: Do we default to delete intermediate results during Theano function calls? Doing so lowers the memory requirement, but asks that we reallocate memory at the next function call. This is implemented for the default linker, but may not work for all linkers.
  183. Value: True
  184.  
  185. optimizer (('fast_run', 'merge', 'fast_compile', 'None'))
  186. Doc: Default optimizer. If not None, will use this optimizer with the Mode
  187. Value: fast_run
  188.  
  189. optimizer_verbose (<function BoolParam.<locals>.booltype at 0x7f2214c7fae8>)
  190. Doc: If True, we print all optimization being applied
  191. Value: False
  192.  
  193. on_opt_error (('warn', 'raise', 'pdb', 'ignore'))
  194. Doc: What to do when an optimization crashes: warn and skip it, raise the exception, or fall into the pdb debugger.
  195. Value: warn
  196.  
  197. <theano.configparser.ConfigParam object at 0x7f2214c75e48>
  198. Doc: This config option was removed in 0.5: do not use it!
  199. Value: True
  200.  
  201. nocleanup (<function BoolParam.<locals>.booltype at 0x7f2214c7fd90>)
  202. Doc: Suppress the deletion of code files that did not compile cleanly
  203. Value: False
  204.  
  205. on_unused_input (('raise', 'warn', 'ignore'))
  206. Doc: What to do if a variable in the 'inputs' list of theano.function() is not used in the graph.
  207. Value: raise
  208.  
  209. tensor.cmp_sloppy (<class 'int'>)
  210. Doc: Relax tensor._allclose (0) not at all, (1) a bit, (2) more
  211. Value: 0
  212.  
  213. tensor.local_elemwise_fusion (<function BoolParam.<locals>.booltype at 0x7f2214c84158>)
  214. Doc: Enable or not in fast_run mode(fast_run optimization) the elemwise fusion optimization
  215. Value: True
  216.  
  217. gpu.local_elemwise_fusion (<function BoolParam.<locals>.booltype at 0x7f2214c842f0>)
  218. Doc: Enable or not in fast_run mode(fast_run optimization) the gpu elemwise fusion optimization
  219. Value: True
  220.  
  221. lib.amdlibm (<function BoolParam.<locals>.booltype at 0x7f2214c84488>)
  222. Doc: Use amd's amdlibm numerical library
  223. Value: False
  224.  
  225. gpuelemwise.sync (<function BoolParam.<locals>.booltype at 0x7f2214c84620>)
  226. Doc: when true, wait that the gpu fct finished and check it error code.
  227. Value: True
  228.  
  229. traceback.limit (<class 'int'>)
  230. Doc: The number of stack to trace. -1 mean all.
  231. Value: 8
  232.  
  233. traceback.compile_limit (<class 'int'>)
  234. Doc: The number of stack to trace to keep during compilation. -1 mean all. If greater then 0, will also make us save Theano internal stack trace.
  235. Value: 0
  236.  
  237. experimental.unpickle_gpu_on_cpu (<function BoolParam.<locals>.booltype at 0x7f2214c848c8>)
  238. Doc: Allow unpickling of pickled CudaNdarrays as numpy.ndarrays.This is useful, if you want to open a CudaNdarray without having cuda installed.If you have cuda installed, this will force unpickling tobe done on the cpu to numpy.ndarray.Please be aware that this may get you access to the data,however, trying to unpicke gpu functions will not succeed.This flag is experimental and may be removed any time, whengpu<>cpu transparency is solved.
  239. Value: False
  240.  
  241. numpy.seterr_all (('ignore', 'warn', 'raise', 'call', 'print', 'log', 'None'))
  242. Doc: ("Sets numpy's behaviour for floating-point errors, ", "see numpy.seterr. 'None' means not to change numpy's default, which can be different for different numpy releases. This flag sets the default behaviour for all kinds of floating-point errors, its effect can be overriden for specific errors by the following flags: seterr_divide, seterr_over, seterr_under and seterr_invalid.")
  243. Value: ignore
  244.  
  245. numpy.seterr_divide (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
  246. Doc: Sets numpy's behavior for division by zero, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
  247. Value: None
  248.  
  249. numpy.seterr_over (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
  250. Doc: Sets numpy's behavior for floating-point overflow, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
  251. Value: None
  252.  
  253. numpy.seterr_under (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
  254. Doc: Sets numpy's behavior for floating-point underflow, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
  255. Value: None
  256.  
  257. numpy.seterr_invalid (('None', 'ignore', 'warn', 'raise', 'call', 'print', 'log'))
  258. Doc: Sets numpy's behavior for invalid floating-point operation, see numpy.seterr. 'None' means using the default, defined by numpy.seterr_all.
  259. Value: None
  260.  
  261. warn.ignore_bug_before (('0.7', 'None', 'all', '0.3', '0.4', '0.4.1', '0.5', '0.6', '0.7', '0.8', '0.8.1', '0.8.2', '0.9'))
  262. Doc: If 'None', we warn about all Theano bugs found by default. If 'all', we don't warn about Theano bugs found by default. If a version, we print only the warnings relative to Theano bugs found after that version. Warning for specific bugs can be configured with specific [warn] flags.
  263. Value: 0.7
  264.  
  265. warn.argmax_pushdown_bug (<function BoolParam.<locals>.booltype at 0x7f2214c84e18>)
  266. Doc: Warn if in past version of Theano we generated a bug with the theano.tensor.nnet.nnet.local_argmax_pushdown optimization. Was fixed 27 may 2010
  267. Value: False
  268.  
  269. warn.gpusum_01_011_0111_bug (<function BoolParam.<locals>.booltype at 0x7f2214c86048>)
  270. Doc: Warn if we are in a case where old version of Theano had a silent bug with GpuSum pattern 01,011 and 0111 when the first dimensions was bigger then 4096. Was fixed 31 may 2010
  271. Value: False
  272.  
  273. warn.sum_sum_bug (<function BoolParam.<locals>.booltype at 0x7f2214c861e0>)
  274. Doc: Warn if we are in a case where Theano version between version 9923a40c7b7a and the 2 august 2010 (fixed date), generated an error in that case. This happens when there are 2 consecutive sums in the graph, bad code was generated. Was fixed 2 August 2010
  275. Value: False
  276.  
  277. warn.sum_div_dimshuffle_bug (<function BoolParam.<locals>.booltype at 0x7f2214c86378>)
  278. Doc: Warn if previous versions of Theano (between rev. 3bd9b789f5e8, 2010-06-16, and cfc6322e5ad4, 2010-08-03) would have given incorrect result. This bug was triggered by sum of division of dimshuffled tensors.
  279. Value: False
  280.  
  281. warn.subtensor_merge_bug (<function BoolParam.<locals>.booltype at 0x7f2214c86510>)
  282. Doc: Warn if previous versions of Theano (before 0.5rc2) could have given incorrect results when indexing into a subtensor with negative stride (for instance, for instance, x[a:b:-1][c]).
  283. Value: False
  284.  
  285. warn.gpu_set_subtensor1 (<function BoolParam.<locals>.booltype at 0x7f2214c866a8>)
  286. Doc: Warn if previous versions of Theano (before 0.6) could have given incorrect results when moving to the gpu set_subtensor(x[int vector], new_value)
  287. Value: False
  288.  
  289. warn.vm_gc_bug (<function BoolParam.<locals>.booltype at 0x7f2214c86840>)
  290. Doc: There was a bug that existed in the default Theano configuration, only in the development version between July 5th 2012 and July 30th 2012. This was not in a released version. If your code was affected by this bug, a warning will be printed during the code execution if you use the `linker=vm,vm.lazy=True,warn.vm_gc_bug=True` Theano flags. This warning is disabled by default as the bug was not released.
  291. Value: False
  292.  
  293. warn.signal_conv2d_interface (<function BoolParam.<locals>.booltype at 0x7f2214c869d8>)
  294. Doc: Warn we use the new signal.conv2d() when its interface changed mid June 2014
  295. Value: False
  296.  
  297. warn.reduce_join (<function BoolParam.<locals>.booltype at 0x7f2214c86b70>)
  298. Doc: Your current code is fine, but Theano versions prior to 0.7 (or this development version) might have given an incorrect result. To disable this warning, set the Theano flag warn.reduce_join to False. The problem was an optimization, that modified the pattern "Reduce{scalar.op}(Join(axis=0, a, b), axis=0)", did not check the reduction axis. So if the reduction axis was not 0, you got a wrong answer.
  299. Value: False
  300.  
  301. warn.inc_set_subtensor1 (<function BoolParam.<locals>.booltype at 0x7f2214c86d08>)
  302. Doc: Warn if previous versions of Theano (before 0.7) could have given incorrect results for inc_subtensor and set_subtensor when using some patterns of advanced indexing (indexing with one vector or matrix of ints).
  303. Value: False
  304.  
  305. warn.round (<function BoolParam.<locals>.booltype at 0x7f2214c86ea0>)
  306. Doc: Round changed its default from Seed to use for randomized unit tests. Special value 'random' means using a seed of None.
  307. Value: True
  308.  
  309. compute_test_value (('off', 'ignore', 'warn', 'raise', 'pdb'))
  310. Doc: If 'True', Theano will run each op at graph build time, using Constants, SharedVariables and the tag 'test_value' as inputs to the function. This helps the user track down problems in the graph before it gets optimized.
  311. Value: off
  312.  
  313. print_test_value (<function BoolParam.<locals>.booltype at 0x7f2214c87158>)
  314. Doc: If 'True', the __eval__ of a Theano variable will return its test_value when this is available. This has the practical conseguence that, e.g., in debugging `my_var` will print the same as `my_var.tag.test_value` when a test value is defined.
  315. Value: False
  316.  
  317. compute_test_value_opt (('off', 'ignore', 'warn', 'raise', 'pdb'))
  318. Doc: For debugging Theano optimization only. Same as compute_test_value, but is used during Theano optimization
  319. Value: off
  320.  
  321. unpickle_function (<function BoolParam.<locals>.booltype at 0x7f2214c87378>)
  322. Doc: Replace unpickled Theano functions with None. This is useful to unpickle old graphs that pickled them when it shouldn't
  323. Value: True
  324.  
  325. reoptimize_unpickled_function (<function BoolParam.<locals>.booltype at 0x7f2214c87510>)
  326. Doc: Re-optimize the graph when a theano function is unpickled from the disk.
  327. Value: False
  328.  
  329. exception_verbosity (('low', 'high'))
  330. Doc: If 'low', the text of exceptions will generally refer to apply nodes with short names such as Elemwise{add_no_inplace}. If 'high', some exceptions will also refer to apply nodes with long descriptions like:
  331. A. Elemwise{add_no_inplace}
  332. B. log_likelihood_v_given_h
  333. C. log_likelihood_h
  334. Value: low
  335.  
  336. openmp (<function BoolParam.<locals>.booltype at 0x7f2214c87730>)
  337. Doc: Allow (or not) parallel computation on the CPU with OpenMP. This is the default value used when creating an Op that supports OpenMP parallelization. It is preferable to define it via the Theano configuration file ~/.theanorc or with the environment variable THEANO_FLAGS. Parallelization is only done for some operations that implement it, and even for operations that implement parallelism, each operation is free to respect this flag or not. You can control the number of threads used with the environment variable OMP_NUM_THREADS. If it is set to 1, we disable openmp in Theano by default.
  338. Value: False
  339.  
  340. openmp_elemwise_minsize (<class 'int'>)
  341. Doc: If OpenMP is enabled, this is the minimum size of vectors for which the openmp parallelization is enabled in element wise ops.
  342. Value: 200000
  343.  
  344. check_input (<function BoolParam.<locals>.booltype at 0x7f2214c87950>)
  345. Doc: Specify if types should check their input in their C code. It can be used to speed up compilation, reduce overhead (particularly for scalars) and reduce the number of generated C files.
  346. Value: True
  347.  
  348. cache_optimizations (<function BoolParam.<locals>.booltype at 0x7f2214c87ae8>)
  349. Doc: WARNING: work in progress, does not work yet. Specify if the optimization cache should be used. This cache will any optimized graph and its optimization. Actually slow downs a lot the first optimization, and could possibly still contains some bugs. Use at your own risks.
  350. Value: False
  351.  
  352. unittests.rseed (<class 'str'>)
  353. Doc: Seed to use for randomized unit tests. Special value 'random' means using a seed of None.
  354. Value: 666
  355.  
  356. NanGuardMode.nan_is_error (<function BoolParam.<locals>.booltype at 0x7f2214c87d90>)
  357. Doc: Default value for nan_is_error
  358. Value: True
  359.  
  360. NanGuardMode.inf_is_error (<function BoolParam.<locals>.booltype at 0x7f2214c87f28>)
  361. Doc: Default value for inf_is_error
  362. Value: True
  363.  
  364. NanGuardMode.big_is_error (<function BoolParam.<locals>.booltype at 0x7f2214c8b158>)
  365. Doc: Default value for big_is_error
  366. Value: True
  367.  
  368. NanGuardMode.action (('raise', 'warn', 'pdb'))
  369. Doc: What NanGuardMode does when it finds a problem
  370. Value: raise
  371.  
  372. optimizer_excluding (<class 'str'>)
  373. Doc: When using the default mode, we will remove optimizer with these tags. Separate tags with ':'.
  374. Value:
  375.  
  376. optimizer_including (<class 'str'>)
  377. Doc: When using the default mode, we will add optimizer with these tags. Separate tags with ':'.
  378. Value:
  379.  
  380. optimizer_requiring (<class 'str'>)
  381. Doc: When using the default mode, we will require optimizer with these tags. Separate tags with ':'.
  382. Value:
  383.  
  384. DebugMode.patience (<class 'int'>)
  385. Doc: Optimize graph this many times to detect inconsistency
  386. Value: 10
  387.  
  388. DebugMode.check_c (<function BoolParam.<locals>.booltype at 0x7f2214c8b6a8>)
  389. Doc: Run C implementations where possible
  390. Value: True
  391.  
  392. DebugMode.check_py (<function BoolParam.<locals>.booltype at 0x7f2214c8b840>)
  393. Doc: Run Python implementations where possible
  394. Value: True
  395.  
  396. DebugMode.check_finite (<function BoolParam.<locals>.booltype at 0x7f2214c8b9d8>)
  397. Doc: True -> complain about NaN/Inf results
  398. Value: True
  399.  
  400. DebugMode.check_strides (<class 'int'>)
  401. Doc: Check that Python- and C-produced ndarrays have same strides. On difference: (0) - ignore, (1) warn, or (2) raise error
  402. Value: 0
  403.  
  404. DebugMode.warn_input_not_reused (<function BoolParam.<locals>.booltype at 0x7f2214c8bc80>)
  405. Doc: Generate a warning when destroy_map or view_map says that an op works inplace, but the op did not reuse the input for its output.
  406. Value: True
  407.  
  408. DebugMode.check_preallocated_output (<class 'str'>)
  409. Doc: Test thunks with pre-allocated memory as output storage. This is a list of strings separated by ":". Valid values are: "initial" (initial storage in storage map, happens with Scan),"previous" (previously-returned memory), "c_contiguous", "f_contiguous", "strided" (positive and negative strides), "wrong_size" (larger and smaller dimensions), and "ALL" (all of the above).
  410. Value:
  411.  
  412. DebugMode.check_preallocated_output_ndim (<class 'int'>)
  413. Doc: When testing with "strided" preallocated output memory, test all combinations of strides over that number of (inner-most) dimensions. You may want to reduce that number to reduce memory or time usage, but it is advised to keep a minimum of 2.
  414. Value: 4
  415.  
  416. profiling.time_thunks (<function BoolParam.<locals>.booltype at 0x7f2214c8d0d0>)
  417. Doc: Time individual thunks when profiling
  418. Value: True
  419.  
  420. profiling.n_apply (<class 'int'>)
  421. Doc: Number of Apply instances to print by default
  422. Value: 20
  423.  
  424. profiling.n_ops (<class 'int'>)
  425. Doc: Number of Ops to print by default
  426. Value: 20
  427.  
  428. profiling.output_line_width (<class 'int'>)
  429. Doc: Max line width for the profiling output
  430. Value: 512
  431.  
  432. profiling.min_memory_size (<class 'int'>)
  433. Doc: For the memory profile, do not print Apply nodes if the size
  434. of their outputs (in bytes) is lower than this threshold
  435. Value: 1024
  436.  
  437. profiling.min_peak_memory (<function BoolParam.<locals>.booltype at 0x7f2214c8d6a8>)
  438. Doc: The min peak memory usage of the order
  439. Value: False
  440.  
  441. profiling.destination (<class 'str'>)
  442. Doc:
  443. File destination of the profiling output
  444.  
  445. Value: stderr
  446.  
  447. profiling.debugprint (<function BoolParam.<locals>.booltype at 0x7f2214c8d8c8>)
  448. Doc:
  449. Do a debugprint of the profiled functions
  450.  
  451. Value: False
  452.  
  453. profiling.ignore_first_call (<function BoolParam.<locals>.booltype at 0x7f2214c8da60>)
  454. Doc:
  455. Do we ignore the first call of a Theano function.
  456.  
  457. Value: False
  458.  
  459. optdb.position_cutoff (<class 'float'>)
  460. Doc: Where to stop eariler during optimization. It represent the position of the optimizer where to stop.
  461. Value: inf
  462.  
  463. optdb.max_use_ratio (<class 'float'>)
  464. Doc: A ratio that prevent infinite loop in EquilibriumOptimizer.
  465. Value: 8.0
  466.  
  467. gcc.cxxflags (<class 'str'>)
  468. Doc: Extra compiler flags for gcc
  469. Value:
  470.  
  471. cmodule.warn_no_version (<function BoolParam.<locals>.booltype at 0x7f2214c8dd90>)
  472. Doc: If True, will print a warning when compiling one or more Op with C code that can't be cached because there is no c_code_cache_version() function associated to at least one of those Ops.
  473. Value: False
  474.  
  475. cmodule.remove_gxx_opt (<function BoolParam.<locals>.booltype at 0x7f2214c8df28>)
  476. Doc: If True, will remove the -O* parameter passed to g++.This is useful to debug in gdb modules compiled by Theano.The parameter -g is passed by default to g++
  477. Value: False
  478.  
  479. cmodule.compilation_warning (<function BoolParam.<locals>.booltype at 0x7f2214c90158>)
  480. Doc: If True, will print compilation warnings.
  481. Value: False
  482.  
  483. cmodule.preload_cache (<function BoolParam.<locals>.booltype at 0x7f2214c902f0>)
  484. Doc: If set to True, will preload the C module cache at import time
  485. Value: False
  486.  
  487. cmodule.age_thresh_use (<class 'int'>)
  488. Doc: In seconds. The time after which Theano won't reuse a compile c module.
  489. Value: 2073600
  490.  
  491. blas.ldflags (<class 'str'>)
  492. Doc: lib[s] to include for [Fortran] level-3 blas implementation
  493. Value: -L/root/yes/lib -lmkl_core -lmkl_intel_thread -lmkl_rt -Wl,-rpath,/root/yes/lib
  494.  
  495. metaopt.verbose (<function BoolParam.<locals>.booltype at 0x7f2214c906a8>)
  496. Doc: Enable verbose output for meta optimizers
  497. Value: False
  498.  
  499. profile (<function BoolParam.<locals>.booltype at 0x7f2214c90840>)
  500. Doc: If VM should collect profile information
  501. Value: False
  502.  
  503. profile_optimizer (<function BoolParam.<locals>.booltype at 0x7f2214c909d8>)
  504. Doc: If VM should collect optimizer profile information
  505. Value: False
  506.  
  507. profile_memory (<function BoolParam.<locals>.booltype at 0x7f2214c90b70>)
  508. Doc: If VM should collect memory profile information and print it
  509. Value: False
  510.  
  511. <theano.configparser.ConfigParam object at 0x7f2214c91278>
  512. Doc: Useful only for the vm linkers. When lazy is None, auto detect if lazy evaluation is needed and use the apropriate version. If lazy is True/False, force the version used between Loop/LoopGC and Stack.
  513. Value: None
  514.  
  515. warn.identify_1pexp_bug (<function BoolParam.<locals>.booltype at 0x7f2214c90d90>)
  516. Doc: Warn if Theano versions prior to 7987b51 (2011-12-18) could have yielded a wrong result due to a bug in the is_1pexp function
  517. Value: False
  518.  
  519. on_shape_error (('warn', 'raise'))
  520. Doc: warn: print a warning and use the default value. raise: raise an error
  521. Value: warn
  522.  
  523. tensor.insert_inplace_optimizer_validate_nb (<class 'int'>)
  524. Doc: -1: auto, if graph have less then 500 nodes 1, else 10
  525. Value: -1
  526.  
  527. experimental.local_alloc_elemwise (<function BoolParam.<locals>.booltype at 0x7f2214c92158>)
  528. Doc: DEPRECATED: If True, enable the experimental optimization local_alloc_elemwise. Generates error if not True. Use optimizer_excluding=local_alloc_elemwise to dsiable.
  529. Value: True
  530.  
  531. experimental.local_alloc_elemwise_assert (<function BoolParam.<locals>.booltype at 0x7f2214c921e0>)
  532. Doc: When the local_alloc_elemwise is applied, add an assert to highlight shape errors.
  533. Value: True
  534.  
  535. scan.allow_gc (<function BoolParam.<locals>.booltype at 0x7f2214c92400>)
  536. Doc: Allow/disallow gc inside of Scan (default: False)
  537. Value: False
  538.  
  539. scan.allow_output_prealloc (<function BoolParam.<locals>.booltype at 0x7f2214c92598>)
  540. Doc: Allow/disallow memory preallocation for outputs inside of scan (default: True)
  541. Value: True
  542.  
  543. scan.debug (<function BoolParam.<locals>.booltype at 0x7f2214c92730>)
  544. Doc: If True, enable extra verbose output related to scan
  545. Value: False
  546.  
  547. pycuda.init (<function BoolParam.<locals>.booltype at 0x7f2214c928c8>)
  548. Doc: If True, always initialize PyCUDA when Theano want to
  549. initilize the GPU. Currently, we must always initialize
  550. PyCUDA before Theano do it. Setting this flag to True,
  551. ensure that, but always import PyCUDA. It can be done
  552. manually by importing theano.misc.pycuda_init before theano
  553. initialize the GPU device.
  554.  
  555. Value: False
  556.  
  557. cublas.lib (<class 'str'>)
  558. Doc: Name of the cuda blas library for the linker.
  559. Value: cublas
  560.  
  561. lib.cnmem (<class 'float'>)
  562. Doc: Do we enable CNMeM or not (a faster CUDA memory allocator).
  563.  
  564. The parameter represent the start size (in MB or % of
  565. total GPU memory) of the memory pool.
  566.  
  567. 0: not enabled.
  568. 0 < N <= 1: % of the total GPU memory (clipped to .985 for driver memory)
  569. > 0: use that number of MB of memory.
  570.  
  571.  
  572. Value: 1.0
  573.  
  574. compile.wait (<class 'int'>)
  575. Doc: Time to wait before retrying to aquire the compile lock.
  576. Value: 5
  577.  
  578. compile.timeout (<class 'int'>)
  579. Doc: In seconds, time that a process will wait before deciding to
  580. override an existing lock. An override only happens when the existing
  581. lock is held by the same owner *and* has not been 'refreshed' by this
  582. owner for more than this period. Refreshes are done every half timeout
  583. period for running processes.
  584. Value: 120
  585.  
  586. compiledir_format (<class 'str'>)
  587. Doc: Format string for platform-dependent compiled module subdirectory
  588. (relative to base_compiledir). Available keys: device, gxx_version,
  589. hostname, numpy_version, platform, processor, python_bitwidth,
  590. python_int_bitwidth, python_version, short_platform, theano_version.
  591. Defaults to 'compiledir_%(short_platform)s-%(processor)s-%(python_vers
  592. ion)s-%(python_bitwidth)s'.
  593. Value: compiledir_%(short_platform)s-%(processor)s-%(python_version)s-%(python_bitwidth)s
  594.  
  595. <theano.configparser.ConfigParam object at 0x7f2214c91f60>
  596. Doc: platform-independent root directory for compiled modules
  597. Value: /root/.theano
  598.  
  599. <theano.configparser.ConfigParam object at 0x7f2214c91ef0>
  600. Doc: platform-dependent cache directory for compiled modules
  601. Value: /root/.theano/compiledir_Linux-4.4--generic-x86_64-with-debian-stretch-sid-x86_64-3.5.2-64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement