Home
last modified time | relevance | path

Searched refs:name_scope (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/external/tensorflow/tensorflow/examples/tutorials/mnist/
Dmnist_with_summaries.py47 with tf.compat.v1.name_scope('input'):
51 with tf.compat.v1.name_scope('input_reshape'):
68 with tf.compat.v1.name_scope('summaries'):
71 with tf.compat.v1.name_scope('stddev'):
86 with tf.compat.v1.name_scope(layer_name):
88 with tf.compat.v1.name_scope('weights'):
91 with tf.compat.v1.name_scope('biases'):
94 with tf.compat.v1.name_scope('Wx_plus_b'):
103 with tf.compat.v1.name_scope('dropout'):
111 with tf.compat.v1.name_scope('cross_entropy'):
[all …]
/external/tensorflow/tensorflow/python/module/
Dmodule_test.py46 self.assertEqual(mod.name_scope.name, "simple/")
49 with ops.name_scope("foo", skip_on_eager=False):
52 self.assertEqual(mod.name_scope.name, "foo/bar/")
57 self.assertEqual(mod(), mod.name_scope.name)
62 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
67 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
69 mod.name_scope.name)
74 self.assertEqual(m.name_scope.name, "tree_module/")
77 self.assertEqual(leaf1.name_scope.name, "tree_module/tree_module/")
86 self.assertEqual(mod(), mod.name_scope.name)
[all …]
/external/tensorflow/tensorflow/python/debug/examples/v1/
Ddebug_mnist_v1.py143 with tf.name_scope("input"):
165 with tf.name_scope(layer_name):
167 with tf.name_scope("weights"):
169 with tf.name_scope("biases"):
171 with tf.name_scope("Wx_plus_b"):
181 with tf.name_scope("cross_entropy"):
193 with tf.name_scope("total"):
196 with tf.name_scope("train"):
200 with tf.name_scope("accuracy"):
201 with tf.name_scope("correct_prediction"):
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py553 with ops.name_scope("scope") as sc:
559 with ops.name_scope("scope") as sc:
565 with ops.name_scope("scope") as sc:
571 with ops.name_scope("testVarScopeNameScope1"):
573 with ops.name_scope("scope2") as sc2:
578 with ops.name_scope("scope2") as sc2:
582 with ops.name_scope("scope2") as sc2:
585 with ops.name_scope("testVarScopeNameScope2"):
587 with ops.name_scope("scope2") as sc2:
591 with ops.name_scope("scope2") as sc2:
[all …]
/external/tensorflow/tensorflow/python/keras/applications/
Dnasnet.py463 with backend.name_scope('separable_conv_block_%s' % block_id):
527 with backend.name_scope('adjust_block'):
532 with backend.name_scope('adjust_reduction_block_%s' % block_id):
571 with backend.name_scope('adjust_projection_block_%s' % block_id):
604 with backend.name_scope('normal_A_block_%s' % block_id):
623 with backend.name_scope('block_1'):
630 with backend.name_scope('block_2'):
637 with backend.name_scope('block_3'):
645 with backend.name_scope('block_4'):
658 with backend.name_scope('block_5'):
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontinue_statements_test.py111 with ops.name_scope(''):
128 with ops.name_scope(''):
131 with ops.name_scope(''):
147 with ops.name_scope(''):
152 with ops.name_scope(''):
168 with ops.name_scope(''):
171 with ops.name_scope(''):
174 with ops.name_scope(''):
Dreturn_statements_test.py119 with ops.name_scope(''):
129 with ops.name_scope(''):
140 with ops.name_scope(''):
224 with ops.name_scope(''):
227 with ops.name_scope(''):
/external/tensorflow/tensorflow/python/framework/
Dsubscribe.py127 name_scope = tensor.op.name + '/subscription/'
128 with ops.name_scope(name_scope):
172 name_scope = source_tensor.op.name + '/subscription/'
173 with ops.name_scope(name_scope):
246 name_scope = tensor.op.name + '/subscription/Identity'
248 matching_ops = [op for op in consumers if op.name.startswith(name_scope)]
/external/tensorflow/tensorflow/python/ops/
Dlookup_ops.py198 with ops.name_scope(name, "%s_Size" % self.name, [self.resource_handle]):
225 with ops.name_scope(
319 with ops.name_scope(name, "%s_Export" % self.name, [self.resource_handle]):
462 with ops.name_scope(
642 with ops.name_scope(self._name, "text_file_init", (table.resource_handle,)):
936 with ops.name_scope(None, "init"):
943 with ops.name_scope(None, "init"):
963 with ops.name_scope(name, "%s_Size" % self.name):
1011 with ops.name_scope(name, "%s_Lookup" % self.name):
1142 with ops.name_scope(None, "init"):
[all …]
Dweights_broadcast_ops.py34 with ops.name_scope(
48 with ops.name_scope(
81 with ops.name_scope(None, "assert_broadcastable", (weights, values)) as scope:
82 with ops.name_scope(None, "weights", (weights,)) as weights_scope:
88 with ops.name_scope(None, "values", (values,)) as values_scope:
154 with ops.name_scope(None, "broadcast_weights", (weights, values)) as scope:
Drandom_ops.py86 with ops.name_scope(name, "random_normal", [shape, mean, stddev]) as name:
136 with ops.name_scope(name, "parameterized_truncated_normal",
187 with ops.name_scope(name, "truncated_normal", [shape, mean, stddev]) as name:
281 with ops.name_scope(name, "random_uniform", [shape, minval, maxval]) as name:
371 with ops.name_scope(name, "random_crop", [value, size]) as name:
415 with ops.name_scope(name, "multinomial", [logits]):
443 with ops.name_scope(name, "categorical", [logits]):
544 with ops.name_scope(name, "random_gamma", [shape, alpha, beta]):
637 with ops.name_scope(name, "random_poisson", [lam, shape]):
Dmath_ops.py264 with ops.name_scope(name, "Abs", [x]) as name:
437 with ops.name_scope(name, "scalar_mul", [x]) as name:
465 with ops.name_scope(name, "Pow", [x]) as name:
503 with ops.name_scope(name, "Complex", [real, imag]) as name:
579 with ops.name_scope(name, "Real", [input]) as name:
613 with ops.name_scope(name, "Imag", [input]) as name:
653 with ops.name_scope(name, "Angle", [input]) as name:
736 with ops.name_scope(name, "Cast", [x]) as name:
775 with ops.name_scope(name, "saturate_cast", [value]) as name:
943 with ops.name_scope(None, op_name, [x, y]) as name:
[all …]
Dstateless_random_ops.py89 with ops.name_scope(name, "stateless_random_uniform",
133 with ops.name_scope(name, "stateless_random_normal",
177 with ops.name_scope(name, "stateless_truncated_normal",
225 with ops.name_scope(name, "stateless_multinomial", [logits, seed]):
264 with ops.name_scope(name, "stateless_categorical", [logits, seed]):
Dimage_ops_impl.py421 with ops.name_scope(None, scope_name, [image]) as scope:
536 with ops.name_scope(None, scope_name, [image]):
572 with ops.name_scope(name, 'rot90', [image, k]) as scope:
588 def _rot90_3D(image, k, name_scope): argument
614 cases, default=lambda: image, exclusive=True, name=name_scope)
619 def _rot90_4D(images, k, name_scope): argument
645 cases, default=lambda: images, exclusive=True, name=name_scope)
697 with ops.name_scope(name, 'transpose', [image]):
763 with ops.name_scope(None, 'central_crop', [image]):
898 with ops.name_scope(None, 'pad_to_bounding_box', [image]):
[all …]
Dvariable_scope.py460 with ops.name_scope(None):
739 with ops.name_scope(
762 with ops.name_scope(None):
959 with ops.name_scope(name + "/Regularizer/"):
1124 name_scope="", argument
1136 self._name_scope = name_scope
1285 with ops.name_scope(None, skip_on_eager=False):
1373 with ops.name_scope(None, skip_on_eager=False):
1906 name_scope = self._name_or_scope._name_scope # pylint: disable=protected-access
1920 name_scope=name_scope,
[all …]
Dcheck_ops.py327 with ops.name_scope(name, opname, [x, y, data]):
443 with ops.name_scope(name, 'assert_negative', [x, data]):
495 with ops.name_scope(name, 'assert_positive', [x, data]):
548 with ops.name_scope(name, 'assert_non_negative', [x, data]):
602 with ops.name_scope(name, 'assert_non_positive', [x, data]):
654 with ops.name_scope(name, 'assert_equal', [x, y, data]):
811 with ops.name_scope(name, 'assert_near', [x, y, rtol, atol, data]):
1124 with ops.name_scope(name, 'assert_rank', (x, rank) + tuple(data or [])):
1222 with ops.name_scope(
1386 with ops.name_scope(
[all …]
Dnn_impl.py85 with ops.name_scope(name, "log_poisson_loss", [log_input, targets]) as name:
164 with ops.name_scope(name, "logistic_loss", [logits, labels]) as name:
298 with ops.name_scope(name, "logistic_loss", [logits, labels]) as name:
494 with ops.name_scope(name, "relu_layer", [x, weights, biases]) as name:
583 with ops.name_scope(name, "normalize", [tensor]) as name:
641 with ops.name_scope(name, "l2_normalize", [x]) as name:
660 with ops.name_scope("count_nonzero", values=[input_tensor]):
689 with ops.name_scope(name, "zero_fraction", [value]):
701 with ops.name_scope("counts_to_fraction"):
763 with ops.name_scope(name, "depthwise", [input, filter]) as name:
[all …]
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py116 with ops.name_scope(None, "num_present", (losses, weights)) as scope:
134 with ops.name_scope(None, "num_elements", values=[losses]) as scope:
175 with ops.name_scope(scope, "weighted_loss", (losses, weights)):
249 with ops.name_scope(scope, "absolute_difference",
303 with ops.name_scope(scope, "cosine_distance_loss",
352 with ops.name_scope(scope, "hinge_loss", (logits, labels, weights)) as scope:
418 with ops.name_scope(scope, "huber_loss",
484 with ops.name_scope(scope, "log_loss",
552 with ops.name_scope(scope, "mean_pairwise_squared_error",
637 with ops.name_scope(scope, "mean_squared_error",
[all …]
/external/tensorflow/tensorflow/python/summary/
Dsummary_test.py46 with ops.name_scope('outer'):
60 with ops.name_scope('outer'):
100 with ops.name_scope('outer'):
115 with ops.name_scope('outer'):
132 with ops.name_scope('outer'):
144 with ops.name_scope('outer'):
163 with ops.name_scope('outer'):
178 with ops.name_scope('outer'):
221 with ops.name_scope('outer'):
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_string_ops.py59 with ops.name_scope(name, "StringsByteSplit", [input]):
121 with ops.name_scope(name, "UnicodeEncode", [input]):
219 with ops.name_scope(name, "UnicodeDecode", [input]):
280 with ops.name_scope(name, "UnicodeDecodeWithOffsets", [input]):
322 with ops.name_scope(name, "UnicodeSplit", [input]):
385 with ops.name_scope(name, "UnicodeSplitWithOffsets", [input]):
493 with ops.name_scope(name, "StringSplit", [input]):
563 with ops.name_scope(name, "StringSplit", [source]):
628 with ops.name_scope(name, "StringSplit", [input]):
714 with ops.name_scope(name, "StringNGrams", [data]):
/external/tensorflow/tensorflow/python/training/
Dtraining_util.py136 with graph.as_default() as g, g.name_scope(None):
230 with graph.as_default() as g, g.name_scope(None):
231 with g.name_scope(global_step_tensor.op.name + '/'):
250 with graph.as_default() as g, g.name_scope(None):
251 with g.name_scope(global_step_tensor.op.name + '/'):
/external/tensorflow/tensorflow/python/autograph/core/
Dfunction_wrappers.py55 self.name_scope = ops.name_scope(self._sanitize(function_name))
74 self.name_scope.__enter__()
83 self.name_scope.__exit__(exc_type, exc_val, exc_tb)
/external/tensorflow/tensorflow/python/ops/distributions/
Dutil.py61 with ops.name_scope(name, values=[x, data]):
93 with ops.name_scope(name, values=[x]):
193 with ops.name_scope(name, values=[probs, logits]):
214 with ops.name_scope("validate_probs"):
232 with ops.name_scope("logits"):
343 with ops.name_scope(name, values=[categorical_param]):
430 with ops.name_scope(name, values=[x]):
513 with ops.name_scope(name, values=[n, counts]):
572 with ops.name_scope(name, "matrix_diag_transform", [matrix]):
620 with ops.name_scope(name, values=[x, shift]):
[all …]
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_algebra.py95 with ops.name_scope(name, "Adjoint"):
118 with ops.name_scope(name, "Cholesky"):
143 with ops.name_scope(name, "Matmul"):
168 with ops.name_scope(name, "Solve"):
191 with ops.name_scope(name, "Inverse"):
/external/tensorflow/tensorflow/python/ops/signal/
Dspectral_ops.py70 with ops.name_scope(name, 'stft', [signals, frame_length,
120 with ops.name_scope(name, 'inverse_stft_window_fn', [forward_window_fn]):
140 with ops.name_scope(name, 'inverse_stft_window_fn', [forward_window_fn]):
224 with ops.name_scope(name, 'inverse_stft', [stfts]):
331 with ops.name_scope(name, 'mdct', [signals, frame_length]):
426 with ops.name_scope(name, 'inverse_mdct', [mdcts]):

12345678910>>...26