Home
last modified time | relevance | path

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

12345678910>>...28

/external/tensorflow/tensorflow/python/module/
Dmodule_test.py48 self.assertEqual(mod.name_scope.name, "simple/")
51 with ops.name_scope("foo", skip_on_eager=False):
54 self.assertEqual(mod.name_scope.name, "foo/bar/")
59 self.assertEqual(mod(), mod.name_scope.name)
64 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
69 self.assertEqual(mod.alternative_forward(), mod.name_scope.name)
71 mod.name_scope.name)
76 self.assertEqual(m.name_scope.name, "tree_module/")
79 self.assertEqual(leaf1.name_scope.name, "tree_module/tree_module/")
88 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.py568 with ops.name_scope("scope") as sc:
574 with ops.name_scope("scope") as sc:
580 with ops.name_scope("scope") as sc:
586 with ops.name_scope("testVarScopeNameScope1"):
588 with ops.name_scope("scope2") as sc2:
593 with ops.name_scope("scope2") as sc2:
597 with ops.name_scope("scope2") as sc2:
600 with ops.name_scope("testVarScopeNameScope2"):
602 with ops.name_scope("scope2") as sc2:
606 with ops.name_scope("scope2") as sc2:
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontinue_statements_test.py109 with ops.name_scope(''):
126 with ops.name_scope(''):
129 with ops.name_scope(''):
145 with ops.name_scope(''):
150 with ops.name_scope(''):
166 with ops.name_scope(''):
169 with ops.name_scope(''):
172 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/keras/applications/
Dnasnet.py494 with backend.name_scope('separable_conv_block_%s' % block_id):
558 with backend.name_scope('adjust_block'):
563 with backend.name_scope('adjust_reduction_block_%s' % block_id):
602 with backend.name_scope('adjust_projection_block_%s' % block_id):
635 with backend.name_scope('normal_A_block_%s' % block_id):
654 with backend.name_scope('block_1'):
661 with backend.name_scope('block_2'):
668 with backend.name_scope('block_3'):
676 with backend.name_scope('block_4'):
689 with backend.name_scope('block_5'):
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsubscribe.py128 name_scope = tensor.op.name + '/subscription/'
129 with ops.name_scope(name_scope):
173 name_scope = source_tensor.op.name + '/subscription/'
174 with ops.name_scope(name_scope):
247 name_scope = tensor.op.name + '/subscription/Identity'
249 matching_ops = [op for op in consumers if op.name.startswith(name_scope)]
Dops_test.py1443 with g.name_scope("bar"):
1448 with g.name_scope(None):
1451 with g.name_scope("baz"):
1460 with g.name_scope("baz"):
1469 with g.name_scope("quux"):
1472 with g.name_scope("bar"):
1473 with g.name_scope("baz"):
1486 with g.name_scope("n_CatCntc-campaign\\c_campaign"):
1488 with g.name_scope("foo"):
1489 with g.name_scope("n_CatCntc-campaign\\c_campaign"):
[all …]
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops.py89 with ops.name_scope(name, 'lbeta', [x]):
132 with ops.name_scope(name, 'dawsn', [x]):
161 with ops.name_scope(name, 'expint', [x]):
191 with ops.name_scope(name, 'fresnel_cos', [x]):
220 with ops.name_scope(name, 'fresnel_sin', [x]):
249 with ops.name_scope(name, 'spence', [x]):
277 with ops.name_scope(name, 'bessel_i0', [x]):
303 with ops.name_scope(name, 'bessel_i0e', [x]):
331 with ops.name_scope(name, 'bessel_i1', [x]):
357 with ops.name_scope(name, 'bessel_i1e', [x]):
[all …]
Dweights_broadcast_ops.py35 with ops.name_scope(
49 with ops.name_scope(
82 with ops.name_scope(None, "assert_broadcastable", (weights, values)) as scope:
83 with ops.name_scope(None, "weights", (weights,)) as weights_scope:
89 with ops.name_scope(None, "values", (values,)) as values_scope:
156 with ops.name_scope(None, "broadcast_weights", (weights, values)) as scope:
Dlookup_ops.py204 with ops.name_scope(name, "%s_Size" % self.name, [self.resource_handle]):
233 with ops.name_scope(
343 with ops.name_scope(name, "%s_Export" % self.name, [self.resource_handle]):
557 with ops.name_scope(
747 with ops.name_scope(self._name, "text_file_init", (table.resource_handle,)):
1049 with ops.name_scope(None, "init"):
1056 with ops.name_scope(None, "init"):
1076 with ops.name_scope(name, "%s_Size" % self.name):
1126 with ops.name_scope(name, "%s_Lookup" % self.name):
1272 with ops.name_scope(None, "init"):
[all …]
Drandom_ops.py89 with ops.name_scope(name, "random_normal", [shape, mean, stddev]) as name:
139 with ops.name_scope(name, "parameterized_truncated_normal",
198 with ops.name_scope(name, "truncated_normal", [shape, mean, stddev]) as name:
295 with ops.name_scope(name, "random_uniform", [shape, minval, maxval]) as name:
397 with ops.name_scope(name, "random_crop", [value, size]) as name:
450 with ops.name_scope(name, "random_crop", [value, size]) as name:
495 with ops.name_scope(name, "multinomial", [logits]):
524 with ops.name_scope(name, "categorical", [logits]):
626 with ops.name_scope(name, "random_gamma", [shape, alpha, beta]):
721 with ops.name_scope(name, "random_poisson", [lam, shape]):
Dstateless_random_ops.py212 with ops.name_scope(name, "stateless_random_uniform",
307 with ops.name_scope(name, "stateless_random_binomial",
403 with ops.name_scope(name, "stateless_random_gamma",
474 with ops.name_scope(name, "stateless_random_poisson",
513 with ops.name_scope(name, "stateless_random_normal",
563 with ops.name_scope(name, "stateless_truncated_normal",
618 with ops.name_scope(name, "stateless_multinomial", [logits, seed]):
660 with ops.name_scope(name, "stateless_categorical", [logits, seed]):
728 with ops.name_scope(name, "stateless_parameterized_truncated_normal",
Dmath_ops.py176 with ops.name_scope(name, "linspace", [start, stop]):
407 with ops.name_scope(name, "Abs", [x]) as name:
628 with ops.name_scope(name, "scalar_mul", [x]) as name:
656 with ops.name_scope(name, "Pow", [x]) as name:
694 with ops.name_scope(name, "Complex", [real, imag]) as name:
778 with ops.name_scope(name, "Real", [input]) as name:
813 with ops.name_scope(name, "Imag", [input]) as name:
854 with ops.name_scope(name, "Angle", [input]) as name:
945 with ops.name_scope(name, "Cast", [x]) as name:
984 with ops.name_scope(name, "saturate_cast", [value]) as name:
[all …]
Dimage_ops_impl.py506 with ops.name_scope(None, scope_name, [image]) as scope:
631 with ops.name_scope(None, scope_name, [image]):
687 with ops.name_scope(name, 'rot90', [image, k]) as scope:
714 def _rot90_3D(image, k, name_scope): argument
740 cases, default=lambda: image, exclusive=True, name=name_scope)
745 def _rot90_4D(images, k, name_scope): argument
771 cases, default=lambda: images, exclusive=True, name=name_scope)
824 with ops.name_scope(name, 'transpose', [image]):
902 with ops.name_scope(None, 'central_crop', [image]):
1050 with ops.name_scope(None, 'pad_to_bounding_box', [image]):
[all …]
Dvariable_scope.py483 with ops.name_scope(None):
762 with ops.name_scope(
785 with ops.name_scope(None):
981 with ops.name_scope(name + "/Regularizer/"):
1144 name_scope="", argument
1156 self._name_scope = name_scope
1305 with ops.name_scope(None, skip_on_eager=False):
1393 with ops.name_scope(None, skip_on_eager=False):
1926 name_scope = self._name_or_scope._name_scope # pylint: disable=protected-access
1940 name_scope=name_scope,
[all …]
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py117 with ops.name_scope(None, "num_present", (losses, weights)) as scope:
135 with ops.name_scope(None, "num_elements", values=[losses]) as scope:
177 with ops.name_scope(scope, "weighted_loss", (losses, weights)):
252 with ops.name_scope(scope, "absolute_difference",
307 with ops.name_scope(scope, "cosine_distance_loss",
357 with ops.name_scope(scope, "hinge_loss", (logits, labels, weights)) as scope:
424 with ops.name_scope(scope, "huber_loss",
491 with ops.name_scope(scope, "log_loss",
560 with ops.name_scope(scope, "mean_pairwise_squared_error",
646 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/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 + '/'):
Dsync_replicas_optimizer.py275 with ops.name_scope(None, self._name):
307 with ops.device(global_step.device), ops.name_scope(""):
312 with ops.device(global_step.device), ops.name_scope(""):
321 with ops.device(global_step.device), ops.name_scope(""):
334 with ops.control_dependencies([sync_op]), ops.name_scope(""):
441 with ops.device(self._global_step.device), ops.name_scope(""):
/external/tensorflow/tensorflow/python/autograph/core/
Dfunction_wrappers.py59 self.name_scope = ops.name_scope(self._sanitize(function_name))
78 self.name_scope.__enter__()
87 self.name_scope.__exit__(exc_type, exc_val, exc_tb)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_string_ops.py69 with ops.name_scope(name, "StringsByteSplit", [input]):
132 with ops.name_scope(name, "UnicodeEncode", [input]):
231 with ops.name_scope(name, "UnicodeDecode", [input]):
293 with ops.name_scope(name, "UnicodeDecodeWithOffsets", [input]):
336 with ops.name_scope(name, "UnicodeSplit", [input]):
400 with ops.name_scope(name, "UnicodeSplitWithOffsets", [input]):
509 with ops.name_scope(name, "StringSplit", [input]):
580 with ops.name_scope(name, "StringSplit", [source]):
646 with ops.name_scope(name, "StringSplit", [input]):
740 with ops.name_scope(name, "StringNGrams", [data]):
[all …]
/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 …]
Dnormal.py147 with ops.name_scope(name, values=[loc, scale]) as name:
240 with ops.name_scope("standardize", values=[x]):
245 with ops.name_scope("reconstruct", values=[z]):
264 with ops.name_scope(name, values=[scale]) as name:
287 with ops.name_scope(name, "kl_normal_normal", [n_a.loc, n_b.loc]):
/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"):

12345678910>>...28