Home
last modified time | relevance | path

Searched refs:variables_lib (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables_test.py38 from tensorflow.python.ops import variables as variables_lib unknown
49 self.assertEquals([], variables_lib.local_variables())
54 variables = variables_lib.local_variables()
57 variables_lib.variables_initializer(variables).run()
72 self.assertFalse(a in variables_lib.global_variables())
73 self.assertTrue(a in variables_lib.local_variables())
80 self.assertTrue(a in variables_lib.local_variables())
103 sess.run(variables_lib.local_variables_initializer())
109 self.assertTrue(isinstance(a, variables_lib.Variable))
118 self.assertEquals([], variables_lib.global_variables())
[all …]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/kernel_tests/
Dsdca_ops_test.py45 from tensorflow.python.ops import variables as variables_lib unknown
133 weights = variables_lib.VariableV1(
192 variables_lib.VariableV1(
259 variables_lib.global_variables_initializer().run()
307 variables_lib.global_variables_initializer().run()
349 age_weights = variables_lib.VariableV1(
369 variables_lib.global_variables_initializer().run()
410 variables_lib.global_variables_initializer().run()
441 variables_lib.global_variables_initializer().run()
482 variables_lib.global_variables_initializer().run()
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column_ops_test.py42 from tensorflow.python.ops import variables as variables_lib unknown
502 variables_lib.global_variables_initializer().run()
604 variables_lib.global_variables_initializer().run()
630 variables_lib.global_variables_initializer().run()
756 variables_lib.global_variables_initializer().run()
777 variables_lib.global_variables_initializer().run()
798 variables_lib.global_variables_initializer().run()
820 variables_lib.global_variables_initializer().run()
838 variables_lib.global_variables_initializer().run()
856 variables_lib.global_variables_initializer().run()
[all …]
Dlayers_test.py51 from tensorflow.python.ops import variables as variables_lib unknown
479 sess.run(variables_lib.global_variables_initializer())
577 sess.run(variables_lib.global_variables_initializer())
591 sess.run(variables_lib.global_variables_initializer())
605 sess.run(variables_lib.global_variables_initializer())
620 variables_lib.global_variables_initializer().run()
642 variables_lib.global_variables_initializer().run()
659 variables_lib.global_variables_initializer().run()
674 sess.run(variables_lib.global_variables_initializer())
692 sess.run(variables_lib.global_variables_initializer())
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions_test.py26 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
164 variables_lib.create_global_step()
166 in1 = variables_lib.local_variable(2.0)
314 variables_lib.create_global_step()
458 variables_lib.create_global_step()
460 in1 = variables_lib.local_variable(2.0)
508 train_op = state_ops.assign_add(variables_lib.get_global_step(), 1)
527 train_op = state_ops.assign_add(variables_lib.get_global_step(), 1)
535 self._output_dir, variables_lib.get_global_step().name)
540 train_op = state_ops.assign_add(variables_lib.get_global_step(), 1)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_test.py47 from tensorflow.python.ops import variables as variables_lib unknown
390 sess.run([variables_lib.global_variables_initializer()])
424 sess.run([variables_lib.global_variables_initializer()])
460 sess.run([variables_lib.global_variables_initializer()])
504 sess.run([variables_lib.global_variables_initializer()])
542 sess.run([variables_lib.global_variables_initializer()])
779 variables_lib.Variable(
786 inputs_t = variables_lib.Variable(inputs, trainable=False).value()
828 variables_lib.Variable(
833 variables_lib.global_variables_initializer().run()
[all …]
Drnn_cell_test.py49 from tensorflow.python.ops import variables as variables_lib unknown
173 self._num_state_calls = variables_lib.VariableV1(0)
174 self._num_save_state_calls = variables_lib.VariableV1(0)
333 variables_lib.global_variables_initializer()
334 all_vars = variables_lib.global_variables()
401 variables_lib.global_variables_initializer().run()
428 variables_lib.global_variables_initializer().run()
461 variables_lib.global_variables_initializer().run()
495 variables_lib.global_variables_initializer().run()
555 variables_lib.global_variables_initializer().run()
[all …]
Dvariable_scope_test.py42 from tensorflow.python.ops import variables as variables_lib unknown
132 self.evaluate(variables_lib.variables_initializer([v]))
136 self.evaluate(variables_lib.variables_initializer([w]))
159 variables_lib.global_variables_initializer().run()
276 self.evaluate(variables_lib.variables_initializer([v]))
281 self.evaluate(variables_lib.variables_initializer([w]))
310 self.evaluate(variables_lib.global_variables_initializer())
365 self.evaluate(variables_lib.variables_initializer([v]))
384 self.evaluate(variables_lib.variables_initializer([u, w, x, y, z]))
403 self.evaluate(variables_lib.variables_initializer([w]))
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py42 from tensorflow.python.ops import variables as variables_lib unknown
68 variable = variables_lib.Variable(self._zero_vec, dtype=dtypes.float32)
82 variable = variables_lib.Variable(self._zero_vec, dtype=dtypes.float32)
101 variable = variables_lib.Variable(self._zero_vec, dtype=dtypes.float32)
127 variable = variables_lib.Variable(array_ops.zeros_like(gradient))
135 variable = variables_lib.Variable(array_ops.zeros_like(gradient))
142 variable = variables_lib.Variable(array_ops.zeros_like(gradient))
149 variable = variables_lib.Variable(array_ops.zeros_like(gradient))
157 variable = variables_lib.Variable(array_ops.zeros_like(gradient))
179 variable = variables_lib.Variable(array_ops.zeros((1, 3)))
[all …]
Devaluation_test.py28 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
85 self._global_step = variables_lib.get_or_create_global_step()
235 self._global_step = variables_lib.get_or_create_global_step()
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dvirtual_batchnorm_test.py34 from tensorflow.python.ops import variables as variables_lib unknown
120 variables_lib.global_variables_initializer().run()
146 variables_lib.global_variables_initializer().run()
171 variables_lib.global_variables_initializer().run()
184 variables_lib.global_variables_initializer().run()
223 variables_lib.global_variables_initializer().run()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py25 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
121 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')[
187 global_step = variables_lib.get_or_create_global_step()
210 global_step = variables_lib.get_or_create_global_step()
299 local_multiplier = variables_lib.local_variable(1.0)
427 assign_fn = variables_lib.assign_from_checkpoint_fn(
462 weights = variables_lib.get_variables_by_name('weights')
[all …]
Devaluation_test.py42 from tensorflow.python.ops import variables as variables_lib unknown
71 session.run(variables_lib.global_variables_initializer())
90 variables_lib.Variable(10, name='v0')
92 variables_lib.Variable(20, name='v1')
100 session.run(variables_lib.global_variables_initializer())
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimators_test.py34 from tensorflow.python.ops import variables as variables_lib unknown
61 _ = variables_lib.Variable([0.])
101 _ = variables_lib.Variable([0.])
142 _ = variables_lib.Variable([0.])
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2_test.py48 from tensorflow.python.ops import variables as variables_lib unknown
58 sess.run(variables_lib.global_variables_initializer())
559 self.evaluate(variables_lib.global_variables_initializer())
574 self.evaluate(variables_lib.global_variables_initializer())
594 self.evaluate(variables_lib.global_variables_initializer())
1037 self.evaluate(variables_lib.global_variables_initializer())
1062 self.evaluate(variables_lib.global_variables_initializer())
1272 self.evaluate(variables_lib.global_variables_initializer())
1304 self.evaluate(variables_lib.global_variables_initializer())
2035 self.assertIsInstance(var, variables_lib.VariableV1)
[all …]
Dsequence_feature_column_test.py38 from tensorflow.python.ops import variables as variables_lib unknown
133 self.evaluate(variables_lib.global_variables_initializer())
561 self.evaluate(variables_lib.global_variables_initializer())
841 self.evaluate(variables_lib.global_variables_initializer())
908 self.evaluate(variables_lib.global_variables_initializer())
982 self.evaluate(variables_lib.global_variables_initializer())
1120 self.evaluate(variables_lib.global_variables_initializer())
/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py30 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
277 gstep = variables_lib.get_or_create_global_step()
292 gstep = variables_lib.get_or_create_global_step()
309 gstep = variables_lib.get_or_create_global_step()
328 gstep = variables_lib.get_or_create_global_step()
346 gstep = variables_lib.get_or_create_global_step()
368 gstep = variables_lib.get_or_create_global_step()
417 gstep = variables_lib.get_or_create_global_step()
438 gstep = variables_lib.get_or_create_global_step()
458 gstep = variables_lib.get_or_create_global_step()
[all …]
Dbasic_session_run_hooks_test.py42 from tensorflow.python.ops import variables as variables_lib unknown
255 self.evaluate(variables_lib.global_variables_initializer())
273 self.evaluate(variables_lib.global_variables_initializer())
320 self.evaluate(variables_lib.global_variables_initializer())
334 self.evaluate(variables_lib.global_variables_initializer())
382 self.evaluate(variables_lib.global_variables_initializer())
935 self.evaluate(variables_lib.global_variables_initializer())
966 self.evaluate(variables_lib.global_variables_initializer())
1003 self.evaluate(variables_lib.global_variables_initializer())
1023 self.evaluate(variables_lib.global_variables_initializer())
[all …]
Dwarm_starting_util.py27 from tensorflow.python.ops import variables as variables_lib unknown
168 elif isinstance(var, variables_lib.PartitionedVariable):
239 elif isinstance(var, variables_lib.PartitionedVariable):
/external/tensorflow/tensorflow/contrib/distribute/python/
Dminimize_loss_test.py38 from tensorflow.python.ops import variables as variables_lib unknown
79 self.evaluate(variables_lib.global_variables_initializer())
112 self.evaluate(variables_lib.global_variables_initializer())
170 self.evaluate(variables_lib.global_variables_initializer())
239 self.evaluate(variables_lib.global_variables_initializer())
331 self.evaluate(variables_lib.global_variables_initializer())
453 self.evaluate(variables_lib.global_variables_initializer())
/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain.py34 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
127 generator_variables = variables_lib.get_trainable_variables(gen_scope)
128 discriminator_variables = variables_lib.get_trainable_variables(dis_scope)
201 generator_variables = variables_lib.get_trainable_variables(gen_scope)
202 discriminator_variables = variables_lib.get_trainable_variables(disc_scope)
296 generator_variables = variables_lib.get_trainable_variables(gen_scope)
297 discriminator_variables = variables_lib.get_trainable_variables(dis_scope)
457 generator_variables = variables_lib.get_trainable_variables(generator_scope)
458 discriminator_variables = variables_lib.get_trainable_variables(
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dtensor_util_test.py35 from tensorflow.python.ops import variables as variables_lib unknown
43 self.assertEquals([], variables_lib.local_variables())
48 variables = variables_lib.local_variables()
51 variables_lib.variables_initializer(variables).run()
379 variables_lib.local_variables_initializer().run()
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Doverfeat_test.py21 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
94 model_variables = [v.op.name for v in variables_lib.get_model_variables()]
Dalexnet_test.py21 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
94 model_variables = [v.op.name for v in variables_lib.get_model_variables()]
Dvgg_test.py21 from tensorflow.contrib.framework.python.ops import variables as variables_lib unknown
103 model_variables = [v.op.name for v in variables_lib.get_model_variables()]
237 model_variables = [v.op.name for v in variables_lib.get_model_variables()]
378 model_variables = [v.op.name for v in variables_lib.get_model_variables()]

12