Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py328 use_resource=None, argument
434 use_resource = True
477 use_resource=None, argument
502 use_resource=use_resource,
523 use_resource=use_resource,
546 use_resource=use_resource,
571 "use_resource": use_resource,
594 use_resource=use_resource,
611 use_resource=None, argument
804 use_resource=use_resource,
[all …]
Dmatmul_benchmark.py49 use_resource=False)
52 use_resource=False)
55 use_resource=False)
58 use_resource=False)
Dgradients_test.py1173 with variable_scope.variable_scope("f", use_resource=True) as vs:
1223 with variable_scope.variable_scope("f", use_resource=True) as vs:
1273 def F(x, use_resource=False): argument
1274 with variable_scope.variable_scope("f", use_resource=use_resource):
1286 return F(x, use_resource=True)
1290 return F(x, use_resource=False)
1295 with variable_scope.variable_scope("vs1", use_resource=True):
1302 with variable_scope.variable_scope("vs2", use_resource=False):
1387 with variable_scope.variable_scope("f", use_resource=True) as vs:
1569 with variable_scope.variable_scope("test", use_resource=True):
[all …]
/external/tensorflow/tensorflow/python/training/
Dslot_creator.py65 use_resource = True
67 use_resource = False
69 use_resource = None
74 use_resource=use_resource,
Dadam_test.py55 def doTestSparse(self, use_resource=False): argument
65 if use_resource:
105 self.doTestSparse(use_resource=False)
109 self.doTestSparse(use_resource=True)
156 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
157 if context.executing_eagerly() and not use_resource:
169 if use_resource:
201 use_resource,
204 use_resource,
236 if use_resource:
[all …]
Dadadelta_test.py33 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
40 if use_resource:
155 self.doTestBasic(use_resource=False)
159 self.doTestBasic(use_resource=True)
163 self.doTestBasic(use_resource=True, use_callable_params=True)
Dproximal_gradient_descent_test.py35 self, use_resource=False): argument
37 if use_resource:
63 self.doTestProximalGradientDescentwithoutRegularization(use_resource=False)
66 self.doTestProximalGradientDescentwithoutRegularization(use_resource=True)
Dadagrad_da_test.py33 def doTestAdagradDAwithoutRegularizationBasic1(self, use_resource=False): argument
37 if use_resource:
78 self.doTestAdagradDAwithoutRegularizationBasic1(use_resource=True)
Dproximal_adagrad_test.py34 def doTestProximalAdagradwithoutRegularization(self, use_resource=False): argument
66 self.doTestProximalAdagradwithoutRegularization(use_resource=False)
69 self.doTestProximalAdagradwithoutRegularization(use_resource=True)
Dadagrad_test.py38 use_resource=False, argument
41 if use_resource:
86 self.doTestBasic(use_locking=False, use_resource=True)
91 use_locking=False, use_resource=True, use_callable_params=True)
Dmomentum_test.py43 def doTestBasic(self, use_resource=False, use_callable_params=False): argument
45 if use_resource:
123 self.doTestBasic(use_resource=False)
127 self.doTestBasic(use_resource=True)
131 self.doTestBasic(use_resource=True, use_callable_params=True)
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dbase.py331 use_resource=None, argument
395 use_resource=use_resource,
450 use_resource = (use_resource or
452 scope.use_resource)
463 use_resource=use_resource,
Dvariable_scope_shim.py166 use_resource=None, argument
272 use_resource = True
309 use_resource=None, # pylint: disable=unused-argument argument
360 "use_resource": use_resource,
383 use_resource=use_resource,
/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"
Dtensorflow.variable_scope.pbtxt7 …device\', \'partitioner\', \'custom_getter\', \'reuse\', \'dtype\', \'use_resource\', \'constraint…
/external/tensorflow/tensorflow/python/kernel_tests/variables/
Dpartitioned_variables_test.py60 "root", partitioner=partitioner, use_resource=True):
344 def _testNameHelper(self, use_resource=False): argument
347 with variable_scope.variable_scope("hi", use_resource=use_resource):
365 "hola", use_resource=use_resource) as vs:
369 vs, reuse=True, use_resource=use_resource):
402 self._testNameHelper(use_resource=False)
405 self._testNameHelper(use_resource=True)
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph_test.py778 def doTestExportNestedNames(self, use_resource=False): argument
784 if use_resource:
828 self.doTestExportNestedNames(use_resource=False)
832 self.doTestExportNestedNames(use_resource=True)
984 def make_graph_with_partitioned_variables(use_resource): argument
989 use_resource=use_resource)
996 use_resource=use_resource)
999 make_graph_with_partitioned_variables, use_resource=False)
1001 make_graph_with_partitioned_variables, use_resource=True)
1003 def _testExportImportAcrossScopes(self, graph_fn, use_resource): argument
[all …]
Dconvert_to_constants_test.py333 use_resource=True)
949 def _test_variable_to_const_conversion(self, use_resource): argument
951 with variable_scope.variable_scope("", use_resource=use_resource):
983 with variable_scope.variable_scope("", use_resource=True):
1078 self._test_variable_to_const_conversion(use_resource=False)
1082 self._test_variable_to_const_conversion(use_resource=True)
1095 with variable_scope.variable_scope("", use_resource=True):
1121 with variable_scope.variable_scope("", use_resource=False):
1147 with variable_scope.variable_scope("", use_resource=True):
1173 with variable_scope.variable_scope("", use_resource=False):
[all …]
Dfunction_test.py549 "var", expected_shape, expected_type, use_resource=True)
1722 def _testSimpleModel(self, use_forward_func, use_resource=False): argument
1728 use_resource=use_resource)
1732 use_resource=use_resource),
1789 self._testSimpleModel(False, use_resource=True)
1790 self._testSimpleModel(True, use_resource=True)
1797 self.assertTemplateVariableSharing(use_resource=True, defun_first=False)
1801 self.assertTemplateVariableSharing(use_resource=False, defun_first=False)
1805 self.assertTemplateVariableSharing(use_resource=True, defun_first=True)
1809 self.assertTemplateVariableSharing(use_resource=False, defun_first=True)
[all …]
/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
174 if (use_resource) { in TestFreezeGraphWithDependentVariables()
209 size_t expected_nodes = use_resource ? (use_identity ? 5 : 4) : 3; in TestFreezeGraphWithDependentVariables()
223 void TestFreezeGraphWithAndWithoutDependentVariables(bool use_resource) { in TestFreezeGraphWithAndWithoutDependentVariables() argument
234 if (use_resource) { in TestFreezeGraphWithAndWithoutDependentVariables()
269 size_t expected_nodes = use_resource ? 4 : 3; in TestFreezeGraphWithAndWithoutDependentVariables()
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_values_test.py48 name=n, initializer=init, use_resource=True))
98 name="v", initializer=[1.], use_resource=True)
142 name="v", initializer=1., use_resource=True)
158 name="v", initializer=7., use_resource=True)
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils.py59 use_resource=None, argument
121 if use_resource is None:
122 use_resource = True
135 use_resource=use_resource,
Dbase_preprocessing_layer.py373 use_resource=None, argument
399 use_resource=use_resource,
/external/tensorflow/tensorflow/python/compiler/xla/
Dxla_test.py81 name='variable_a', use_resource=True, initializer=1)
91 name='variable_a', use_resource=True, initializer=1)
107 name='variable_a', shape=(1), use_resource=False)
246 name='variable_a', use_resource=True, initializer=1)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test.py123 use_resource=True,
129 use_resource=True,

12345