Home
last modified time | relevance | path

Searched refs:force_gpu (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/framework/
Dtest_util.py1333 def force_gpu(): function
1731 def session(self, graph=None, config=None, use_gpu=False, force_gpu=False): argument
1769 with self._create_session(graph, config, force_gpu) as sess:
1770 with self._constrain_devices_and_set_default(sess, use_gpu, force_gpu):
1778 force_gpu=False): argument
1820 graph, config, force_gpu, crash_if_inconsistent_args=True)
1822 force_gpu) as cached:
1832 force_gpu=False): argument
1841 graph, config, force_gpu, crash_if_inconsistent_args=False)
1843 force_gpu) as cached:
[all …]
Dtest_util_test.py77 with self.cached_session(force_gpu=True) as sess2:
370 with self.test_session(force_gpu=True):
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_circulant_test.py42 def _constrain_devices_and_set_default(self, sess, use_gpu, force_gpu): argument
45 self, sess, use_gpu, force_gpu) as sess:
370 def _constrain_devices_and_set_default(self, sess, use_gpu, force_gpu): argument
373 self, sess, use_gpu, force_gpu) as sess:
631 def _constrain_devices_and_set_default(self, sess, use_gpu, force_gpu): argument
634 self, sess, use_gpu, force_gpu) as sess:
/external/tensorflow/tensorflow/python/kernel_tests/
Dhuge_slice_op_test.py32 with self.cached_session(force_gpu=test.is_gpu_available()):
Dcudnn_determinism_test.py68 with self.cached_session(force_gpu=True):
Dinit_ops_test.py552 with self.session(graph=graph, force_gpu=self.force_gpu):
558 for self.force_gpu in self._gpu_modes():
568 for self.force_gpu in self._gpu_modes():
579 for self.force_gpu in self._gpu_modes():
589 for self.force_gpu in self._gpu_modes():
596 for self.force_gpu in self._gpu_modes():
Dconstant_op_test.py945 with self.session(force_gpu=test_util.is_gpu_available()):
957 with self.session(force_gpu=test_util.is_gpu_available()):
968 with self.session(force_gpu=test_util.is_gpu_available()):
978 with self.session(force_gpu=test_util.is_gpu_available()):
Dslice_op_test.py55 with self.cached_session(force_gpu=test.is_gpu_available()):
91 with self.cached_session(force_gpu=test.is_gpu_available()):
Dunstack_op_test.py64 with test_util.force_gpu():
Dspacetodepth_op_test.py45 with test_util.force_gpu():
Darray_ops_test.py590 with test_util.force_gpu():
1290 with test_util.force_gpu():
1292 with test_util.force_gpu():
1301 with test_util.force_gpu():
Dscatter_ops_test.py356 with test_util.force_gpu():
Dscatter_nd_ops_test.py375 with self.cached_session(force_gpu=True):
/external/tensorflow/tensorflow/contrib/resampler/python/ops/
Dresampler_ops_test.py140 with self.test_session(use_gpu=on_gpu, force_gpu=False) as sess:
172 with self.test_session(use_gpu=on_gpu, force_gpu=False):
/external/tensorflow/tensorflow/python/client/
Dtimeline_test.py98 with self.session(force_gpu=True) as sess:
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dadam_test.py112 with self.cached_session(force_gpu=test.is_gpu_available()):
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dadamax_test.py132 with self.cached_session(force_gpu=test.is_gpu_available()):
Dlazy_adam_optimizer_test.py110 with self.cached_session(force_gpu=test.is_gpu_available()):
Dadam_gs_optimizer_test.py118 with self.cached_session(force_gpu=test.is_gpu_available()):
Dlazy_adam_gs_optimizer_test.py115 with self.cached_session(force_gpu=test.is_gpu_available()):
/external/tensorflow/tensorflow/python/training/
Dadam_test.py116 with self.cached_session(force_gpu=test.is_gpu_available()):
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadamax_test.py134 with self.cached_session(force_gpu=test.is_gpu_available()):
Dadam_test.py161 with self.cached_session(force_gpu=test.is_gpu_available()):
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dtf_trt_integration_test_base.py278 graph=g, config=config, use_gpu=True, force_gpu=True) as sess:
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dfft_ops_test.py72 with self.cached_session(config=config, force_gpu=True):

12