Home
last modified time | relevance | path

Searched refs:use_resource (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py295 use_resource=None, argument
404 use_resource = True
447 use_resource=None, argument
472 use_resource=use_resource,
493 use_resource=use_resource,
516 use_resource=use_resource,
541 "use_resource": use_resource,
564 use_resource=use_resource,
581 use_resource=None, argument
780 use_resource=use_resource,
[all …]
Dmatmul_benchmark.py53 use_resource=False)
56 use_resource=False)
59 use_resource=False)
62 use_resource=False)
/external/tensorflow/tensorflow/contrib/quantize/python/
Dquantize_parameterized_test.py69 use_resource): argument
81 if use_resource:
118 if use_resource:
142 if use_resource:
165 with_bypass, delay, use_resource, argument
181 variable_scope.get_variable_scope().set_use_resource(use_resource)
212 use_resource)
219 with_bypass, delay, use_resource, scope): argument
234 variable_scope.get_variable_scope().set_use_resource(use_resource)
258 use_resource)
[all …]
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dweight_decay_optimizers_test.py59 use_resource=False, do_sparse=False): argument
69 if use_resource:
116 if use_resource:
129 use_resource=False, do_sparse=True)
133 use_resource=True, do_sparse=True)
137 use_resource=False)
142 use_resource=True)
153 "momentum", use_resource=False, do_sparse=True)
157 "momentum", use_resource=True, do_sparse=True)
161 "momentum", use_resource=False)
[all …]
Daddsign_test.py62 use_resource=False, argument
77 if use_resource:
152 self._testDense(use_resource=False)
153 self._testDense(use_resource=False, learning_rate=0.01, alpha=0.1, beta=0.8)
154 self._testDense(use_resource=False,
158 self._testDense(use_resource=True)
159 self._testDense(use_resource=True, learning_rate=0.01, alpha=0.1, beta=0.8)
160 self._testDense(use_resource=True,
165 use_resource=False, argument
180 if use_resource:
[all …]
Dpowersign_test.py63 use_resource=False, argument
78 if use_resource:
154 self._testDense(use_resource=False)
155 self._testDense(use_resource=False,
159 self._testDense(use_resource=False,
163 self._testDense(use_resource=True)
164 self._testDense(use_resource=True, learning_rate=0.1, base=10.0, beta=0.8)
165 self._testDense(use_resource=True,
170 use_resource=False, argument
185 if use_resource:
[all …]
Dnadam_optimizer_test.py54 def doTestSparse(self, use_resource=False): argument
69 if use_resource:
109 self.doTestSparse(use_resource=False)
112 self.doTestSparse(use_resource=True)
114 def doTestBasic(self, use_resource=False): argument
124 if use_resource:
156 self.doTestBasic(use_resource=False)
159 self.doTestBasic(use_resource=True)
Dlazy_adam_optimizer_test.py59 def testSparse(self, use_resource): argument
69 if use_resource:
108 def testSparseDevicePlacement(self, use_resource): argument
113 if use_resource:
126 def testSparseRepeatedIndices(self, use_resource): argument
129 if use_resource:
165 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
175 if use_resource:
234 if use_resource:
240 self.doTestBasic(use_resource=False)
[all …]
Dmoving_average_optimizer_test.py42 self._helpTestRun(use_resource=False)
46 self._helpTestRun(use_resource=True)
55 self._helpTestRun(use_partitioned_vars=True, use_resource=True)
57 def _helpTestRun(self, use_resource=False, use_partitioned_vars=False): argument
95 use_resource=use_resource,
100 use_resource=use_resource,
Dlazy_adam_gs_optimizer_test.py59 def testSparse(self, use_resource): argument
69 if use_resource:
113 def testSparseDevicePlacement(self, use_resource): argument
118 if use_resource:
135 def testSparseRepeatedIndices(self, use_resource): argument
138 if use_resource:
186 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
196 if use_resource:
264 if use_resource:
270 self.doTestBasic(use_resource=False)
[all …]
Dshampoo_test.py58 0, dtype=dtypes.int64, use_resource=use_resource_var)
60 init_var_np, dtype=dtypes.float32, use_resource=use_resource_var)
109 0, dtype=dtypes.int64, use_resource=use_resource_var)
111 init_var_np, dtype=dtypes.float32, use_resource=use_resource_var)
168 0, dtype=dtypes.int64, use_resource=use_resource_var)
170 init_var_np, dtype=dtypes.float32, use_resource=use_resource_var)
258 0, dtype=dtypes.int64, use_resource=use_resource_var)
260 init_var_np, dtype=dtypes.float32, use_resource=use_resource_var)
314 0, dtype=dtypes.int64, use_resource=use_resource_var)
316 init_var_np, dtype=dtypes.float32, use_resource=use_resource_var)
[all …]
Dadam_gs_optimizer_test.py58 def doTestSparse(self, use_resource=False): argument
68 if use_resource:
111 self.doTestSparse(use_resource=False)
114 self.doTestSparse(use_resource=True)
167 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
177 if use_resource:
245 if use_resource:
251 self.doTestBasic(use_resource=False)
255 self.doTestBasic(use_resource=True)
259 self.doTestBasic(use_resource=True, use_callable_params=True)
Dadamax_test.py75 def doTestSparse(self, use_resource=False): argument
86 if use_resource:
125 self.doTestSparse(use_resource=False)
128 self.doTestSparse(use_resource=True)
173 def doTestBasic(self, use_resource=False): argument
183 if use_resource:
231 if use_resource:
237 self.doTestBasic(use_resource=False)
241 self.doTestBasic(use_resource=True)
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables.py161 use_resource=None): argument
176 use_resource=use_resource,
183 use_resource=None): argument
198 use_resource=use_resource,
214 use_resource=None, argument
275 use_resource=use_resource,
292 use_resource=None, argument
348 use_resource=use_resource,
/external/tensorflow/tensorflow/python/training/
Dadam_test.py57 def doTestSparse(self, use_resource=False): argument
67 if use_resource:
107 self.doTestSparse(use_resource=False)
111 self.doTestSparse(use_resource=True)
158 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
159 if context.executing_eagerly() and not use_resource:
171 if use_resource:
203 use_resource,
206 use_resource,
238 if use_resource:
[all …]
Dslot_creator.py62 use_resource = True
64 use_resource = False
66 use_resource = None
71 use_resource=use_resource,
Dadadelta_test.py37 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
44 if use_resource:
159 self.doTestBasic(use_resource=False)
163 self.doTestBasic(use_resource=True)
167 self.doTestBasic(use_resource=True, use_callable_params=True)
/external/tensorflow/tensorflow/python/layers/
Dbase.py307 use_resource=None, argument
371 use_resource=use_resource,
426 use_resource = (use_resource or
428 scope.use_resource)
439 use_resource=use_resource,
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dadam_test.py57 def doTestSparse(self, use_resource=False): argument
67 if use_resource:
105 self.doTestSparse(use_resource=False)
108 self.doTestSparse(use_resource=True)
153 def doTestBasic(self, use_resource=False): argument
163 if use_resource:
213 if use_resource:
219 self.doTestBasic(use_resource=False)
223 self.doTestBasic(use_resource=True)
Dadadelta_test.py35 def doTestBasic(self, use_resource=False): argument
43 if use_resource:
142 self.doTestBasic(use_resource=False)
145 self.doTestBasic(use_resource=True)
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph_test.py733 def doTestExportNestedNames(self, use_resource=False): argument
739 if use_resource:
785 self.doTestExportNestedNames(use_resource=False)
789 self.doTestExportNestedNames(use_resource=True)
941 def make_graph_with_partitioned_variables(use_resource): argument
946 use_resource=use_resource)
953 use_resource=use_resource)
956 make_graph_with_partitioned_variables, use_resource=False)
958 make_graph_with_partitioned_variables, use_resource=True)
960 def _testExportImportAcrossScopes(self, graph_fn, use_resource): argument
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable-scope.pbtxt46 name: "use_resource"
51 …e\', \'partitioner\', \'custom_getter\', \'name_scope\', \'dtype\', \'use_resource\', \'constraint…
59 …ections\', \'caching_device\', \'partitioner\', \'validate_shape\', \'use_resource\', \'custom_get…
99 argspec: "args=[\'self\', \'use_resource\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/python/kernel_tests/
Dpartitioned_variables_test.py65 "root", partitioner=partitioner, use_resource=True):
349 def _testNameHelper(self, use_resource=False): argument
352 with variable_scope.variable_scope("hi", use_resource=use_resource):
370 "hola", use_resource=use_resource) as vs:
374 vs, reuse=True, use_resource=use_resource):
407 self._testNameHelper(use_resource=False)
410 self._testNameHelper(use_resource=True)
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model_test.cc118 void TestFreezeGraphWithoutDependentVariables(bool use_resource) { in TestFreezeGraphWithoutDependentVariables() argument
128 if (use_resource) { in TestFreezeGraphWithoutDependentVariables()
165 void TestFreezeGraphWithDependentVariables(bool use_resource) { in TestFreezeGraphWithDependentVariables() argument
173 if (use_resource) { in TestFreezeGraphWithDependentVariables()
200 size_t expected_nodes = use_resource ? 4 : 3; in TestFreezeGraphWithDependentVariables()
213 void TestFreezeGraphWithAndWithoutDependentVariables(bool use_resource) { in TestFreezeGraphWithAndWithoutDependentVariables() argument
224 if (use_resource) { in TestFreezeGraphWithAndWithoutDependentVariables()
259 size_t expected_nodes = use_resource ? 4 : 3; in TestFreezeGraphWithAndWithoutDependentVariables()
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2_test.py45 def _v1_single_metagraph_saved_model(self, use_resource): argument
50 if use_resource:
65 use_resource=True)
81 use_resource=True))
100 saved = self._v1_single_metagraph_saved_model(use_resource=False)

12345678910>>...15