Home
last modified time | relevance | path

Searched refs:get_variables_by_name (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dnormalization_test.py81 self.assertEqual(0, len(contrib_variables.get_variables_by_name('beta')))
82 self.assertEqual(0, len(contrib_variables.get_variables_by_name('gamma')))
88 beta = contrib_variables.get_variables_by_name('beta')[0]
89 gamma = contrib_variables.get_variables_by_name('gamma')[0]
98 beta = contrib_variables.get_variables_by_name('beta')
99 gamma = contrib_variables.get_variables_by_name('gamma')
256 self.assertEqual(0, len(contrib_variables.get_variables_by_name('beta')))
257 self.assertEqual(0, len(contrib_variables.get_variables_by_name('gamma')))
265 beta = contrib_variables.get_variables_by_name('beta')[0]
266 gamma = contrib_variables.get_variables_by_name('gamma')[0]
[all …]
Dlayers_test.py307 biases = variables.get_variables_by_name('biases')[-1]
338 weights = variables.get_variables_by_name('weights')[0]
340 biases = variables.get_variables_by_name('biases')[0]
350 weights = variables.get_variables_by_name('weights')[0]
352 biases = variables.get_variables_by_name('biases')[0]
379 biases = variables.get_variables_by_name('biases')[0]
403 weights = variables.get_variables_by_name('weights')[0]
405 biases = variables.get_variables_by_name('biases')[0]
415 weights = variables.get_variables_by_name('weights')[0]
476 l2_loss = nn_ops.l2_loss(variables.get_variables_by_name('weights')[0])
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py121 moving_mean = variables_lib.get_variables_by_name('moving_mean')[0]
122 moving_variance = variables_lib.get_variables_by_name('moving_variance')[
154 moving_mean = variables_lib.get_variables_by_name('moving_mean')[0]
155 moving_variance = variables_lib.get_variables_by_name('moving_variance')[
462 weights = variables_lib.get_variables_by_name('weights')
486 biases = variables_lib.get_variables_by_name('biases')
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables_test.py768 self.assertEquals([a], variables_lib2.get_variables_by_name('a'))
769 self.assertEquals([b], variables_lib2.get_variables_by_name('b'))
778 matched_variables = variables_lib2.get_variables_by_name('a')
780 matched_variables = variables_lib2.get_variables_by_name('fooa')
782 matched_variables = variables_lib2.get_variables_by_name('/a')
784 matched_variables = variables_lib2.get_variables_by_name('a', scope='A')
792 matched_variables = variables_lib2.get_variables_by_name('a')
794 matched_variables = variables_lib2.get_variables_by_name('fooa')
Dvariables.py475 def get_variables_by_name(given_name, scope=None): function
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py291 moving_mean = variables_lib2.get_variables_by_name('moving_mean')[0]
292 moving_variance = variables_lib2.get_variables_by_name('moving_variance')[
325 moving_mean = variables_lib2.get_variables_by_name('moving_mean')[0]
326 moving_variance = variables_lib2.get_variables_by_name('moving_variance')[
827 weights = variables_lib2.get_variables_by_name('weights')
842 biases = variables_lib2.get_variables_by_name('biases')
/external/tensorflow/tensorflow/contrib/slim/
DREADME.md647 variables_to_restore = slim.get_variables_by_name("v2")