/external/tensorflow/tensorflow/python/module/ |
D | module_test.py | 48 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/ |
D | debug_mnist_v1.py | 143 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/ |
D | variable_scope_test.py | 568 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/ |
D | continue_statements_test.py | 109 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(''):
|
D | return_statements_test.py | 119 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/ |
D | nasnet.py | 494 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/ |
D | subscribe.py | 128 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)]
|
D | ops_test.py | 1443 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/ |
D | special_math_ops.py | 89 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 …]
|
D | weights_broadcast_ops.py | 35 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:
|
D | lookup_ops.py | 204 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 …]
|
D | random_ops.py | 89 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]):
|
D | stateless_random_ops.py | 212 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",
|
D | math_ops.py | 176 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 …]
|
D | image_ops_impl.py | 506 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 …]
|
D | variable_scope.py | 483 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/ |
D | losses_impl.py | 117 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/ |
D | summary_test.py | 46 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/ |
D | training_util.py | 136 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 + '/'):
|
D | sync_replicas_optimizer.py | 275 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/ |
D | function_wrappers.py | 59 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/ |
D | ragged_string_ops.py | 69 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/ |
D | util.py | 61 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 …]
|
D | normal.py | 147 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/ |
D | linear_operator_algebra.py | 95 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"):
|