Home
last modified time | relevance | path

Searched refs:NewSubScope (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/cc/framework/
Dscope_test.cc41 Scope child = root.NewSubScope("child"); in TEST()
46 Scope child_1 = root.NewSubScope("child"); in TEST()
51 Scope c_c = root.NewSubScope("c").NewSubScope("c"); in TEST()
54 Scope c_1 = root.NewSubScope("c"); in TEST()
55 Scope c_1_c = c_1.NewSubScope("c"); in TEST()
58 Scope c_1_c_1 = c_1.NewSubScope("c"); in TEST()
61 EXPECT_EQ(root.NewSubScope("").NewSubScope("").GetUniqueNameForOp("d"), "d"); in TEST()
62 EXPECT_EQ(root.NewSubScope("").GetUniqueNameForOp("d"), "d_1"); in TEST()
68 Scope child = root.NewSubScope("child"); in TEST()
73 EXPECT_EQ(root.NewSubScope("child").GetUniqueNameForOp("p"), "child_2/p"); in TEST()
Dwhile_gradients.cc144 Scope scope = parent_scope.NewSubScope("while"); in AddWhileGradientLoop()
184 while_ctx, scope.NewSubScope("ForwardLoopCounter"), &forward_loop_count)); in AddWhileLoopGradient()
191 while_ctx, forward_loop_count, scope.NewSubScope("BackPropLoopCounter"), in AddWhileLoopGradient()
Dscope.h116 Scope NewSubScope(const string& child_scope_name) const;
Dscope.cc406 Scope Scope::NewSubScope(const string& child_scope_name) const { in NewSubScope() function in tensorflow::Scope
487 Scope child = NewSubScope(impl()->op_name_.empty() ? composite_op_name in GetCompositeOpScopes()
Dgradients.cc418 scope_.NewSubScope(strings::StrCat(while_ctx->frame_name(), "_grad")); in ProcessWhileLoop()
/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow_test.cc43 return ops::BuildWhileLoop(scope.NewSubScope("inner"), inputs, in NestedLoopBody()
53 TF_ASSERT_OK(ops::BuildWhileLoop(scope.NewSubScope("outer"), inputs, in TEST()
128 TF_ASSERT_OK(ops::BuildWhileLoop(scope.NewSubScope("sub"), inputs, in TEST()
Dgraph_partition_test.cc643 Scope scope = root.NewSubScope(strings::StrCat("while", i)); in TEST()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dtranspose_vectorizer.cc48 Scope scope = parent.NewSubScope(kTransposePrefix); in Vectorize()
Dreshape_vectorizer.cc54 Scope s = parent.NewSubScope(kReshapePrefix); in Vectorize()
Dparse_single_example_vectorizer.cc43 Scope s = parent.NewSubScope("vectorize/parse_single_example"); in Vectorize()
Dcwise_op_vectorizer.cc49 Scope scope = parent.NewSubScope(kExpandDimsPrefix); in ExpandDimsForBroadcast()
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop.cc102 scope.NewSubScope("cond").WithControlDependencies(inputs[0]); in CreateCond()
129 scope.NewSubScope("body").WithControlDependencies(inputs[0]); in CreateBody()
Dconst_op.cc68 Const(scope.NewSubScope("Const"), Input::Initializer(inp.tensor()))}; in AsNodeOut()
Dconst_op_test.cc135 Scope child = root.NewSubScope("c"); in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dincrease_dynamism_for_auto_jit_pass.cc247 .NewSubScope(absl::StrCat(slice->name(), "/static_shaped_slice")); in ConvertTensorFlowSliceToStaticShapedSlice()
Dbuild_xla_ops_pass.cc328 .NewSubScope(n->name()) in ReplaceNodeWithXlaCompileAndXlaRun()
/external/tensorflow/tensorflow/c/
Dc_api.cc2437 .NewSubScope(params->name); in TF_FinishWhileHelper()
2529 .NewSubScope(child_scope_name); in TF_AddGradientsWithPrefix()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test.cc1857 tensorflow::Scope sx = s.NewSubScope("x"); in TEST_F()
1858 tensorflow::Scope sy = s.NewSubScope("y"); in TEST_F()