Searched refs:get_variables (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | variables.py | 364 def get_variables(scope=None, suffix=None, function 397 return get_variables(scope, suffix, ops.GraphKeys.MODEL_VARIABLES) 410 return get_variables(scope, suffix, ops.GraphKeys.LOCAL_VARIABLES) 423 return get_variables(scope, suffix, ops.GraphKeys.TRAINABLE_VARIABLES) 445 vars_to_include = get_variables() 451 vars_to_include += get_variables(scope) 457 vars_to_exclude |= set(get_variables(scope)) 472 return get_variables(scope=scope, suffix=suffix) 486 return get_variables(scope=scope, suffix=suffix) 501 candidates = get_variables(scope=var_op_name)
|
D | variables_test.py | 88 self.assertEquals([], variables_lib2.get_variables('A')) 89 self.assertEquals([], variables_lib2.get_variables('B')) 159 self.assertEquals([a], variables_lib2.get_variables('A')) 160 self.assertEquals([b], variables_lib2.get_variables('B')) 267 self.assertEquals([a, b], variables_lib2.get_variables()) 268 self.assertEquals([a], variables_lib2.get_variables('A')) 269 self.assertEquals([b], variables_lib2.get_variables('B')) 277 set([a, b]), set(variables_lib2.get_variables(var_scope))) 285 self.assertEquals([a], variables_lib2.get_variables(suffix='a')) 286 self.assertEquals([b], variables_lib2.get_variables(suffix='b')) [all …]
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | layers_test.py | 431 self.assertFalse(variables.get_variables('conv1/weights')) 432 self.assertFalse(variables.get_variables('conv1/biases')) 434 self.assertTrue(variables.get_variables('conv1/weights')) 435 self.assertTrue(variables.get_variables('conv1/biases')) 495 self.assertEqual(len(variables.get_variables()), 2) 497 self.assertEqual(len(variables.get_variables()), 2) 504 self.assertEqual(len(variables.get_variables()), 2) 506 self.assertEqual(len(variables.get_variables()), 4) 516 self.assertEqual(len(variables.get_variables()), 2) 520 self.assertEqual(len(variables.get_variables()), 2) [all …]
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | virtual_batchnorm_test.py | 220 self.assertEqual(4, len(contrib_variables_lib.get_variables()))
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | training_test.py | 530 weights, biases = variables_lib.get_variables()
|
/external/tensorflow/tensorflow/contrib/slim/ |
D | README.md | 143 regular_variables_and_model_variables = slim.get_variables() 651 variables_to_restore = slim.get_variables(scope="nested")
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
D | learning_test.py | 871 weights, biases = variables_lib2.get_variables()
|