- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for frame_name (0.18 sec)
-
tensorflow/cc/framework/while_gradients.cc
outputs->emplace_back(ops::Subtract(scope, inputs[0], 1)); return scope.status(); }; string frame_name = BackPropFrameName(while_ctx->frame_name()); std::vector<Output> outputs; TF_RETURN_IF_ERROR(BuildWhileLoop( scope, {loop_count}, cond_fn, body_fn, frame_name, &outputs, /* create_while_ctx */ false, backprop_execution_pred)); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.h
// indicating whether the loop should continue. // * body: a function that builds the body graph of the loop. Takes the current // loop variables as inputs and returns the updated loop variables. // * frame_name: the frame name to use for this while loop. This should be a // unique name. This will be used as a prefix for created operations. // * outputs: output param that returns final loop variable outputs in non-error
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 24 08:24:58 UTC 2020 - 3.4K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
Status BuildWhileLoop(const Scope& scope, const std::vector<Output>& inputs, const CondGraphBuilderFn& cond, const BodyGraphBuilderFn& body, const string& frame_name, OutputList* outputs, bool create_while_ctx, Output* cond_output) { DCHECK(!inputs.empty()); DCHECK(outputs != nullptr); DCHECK(outputs->empty());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir
// CHECK: tf_executor.Exit %Const, %ctl = Const name("Const") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>) %Enter, %ctl_0 = Enter(%Const) name("while/Enter") {T = i32, frame_name = "while/while_context", is_constant = false, parallel_iterations = 10 : i64} : (tensor<i32>) -> (tensor<*xi32>) %NextIteration, %ctl_1 = NextIteration(%Add) name("while/NextIteration") {T = i32} : (tensor<*xi32>) -> (tensor<*xi32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 06 18:31:38 UTC 2022 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multiple-use-next-iteration.pbtxt
int_val: 0 } } } } node { name: "Enter" op: "Enter" input: "Const" attr { key: "T" value { type: DT_INT32 } } attr { key: "frame_name" value { s: "while_context" } } attr { key: "is_constant" value { b: false } } attr { key: "parallel_iterations" value { i: 10
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 24 00:20:25 UTC 2020 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt
} } } } node { name: "while/Enter" op: "Enter" input: "Const" attr { key: "T" value { type: DT_INT32 } } attr { key: "frame_name" value { s: "while/while_context" } } attr { key: "is_constant" value { b: false } } attr { key: "parallel_iterations" value { i: 10
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 18:14:13 UTC 2020 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_arg_control_dep.mlir
%Const, %ctl = Const [%arg.ctl] name("test") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>) %Enter, %ctl_0 = Enter(%Const) [%arg.ctl] name("while/Enter") {T = i32, frame_name = "while/while_context", is_constant = false, parallel_iterations = 10 : i64} : (tensor<i32>) -> (tensor<*xi32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 06 02:08:28 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
<< node->DebugString(); ASSERT_TRUE(node->while_ctx() != nullptr) << i; if (i == 0) { while_ctx = node->while_ctx(); EXPECT_EQ(while_ctx->frame_name(), kFrameName); } else { EXPECT_EQ(node->while_ctx(), while_ctx) << i; } } // Run the loop and test we get the expected results Run<int>({1}, {10}); Run<int>({11}, {11}); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
} TEST(NodeMatchers, Attrs) { Scope root = Scope::NewRootScope().ExitOnError(); Output enter = ops::internal::Enter( root.WithOpName("enter"), ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name", ops::internal::Enter::Attrs{}.IsConstant(true)); EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true))); EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt
val tracer = this.tracer return if (tracer == null) { writeAction() } else { val frameName = name() try { tracer.open(frameName) writeAction() } finally { tracer.close(frameName) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.7K bytes - Viewed (0)