- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for UpdateEdge (0.53 sec)
-
tensorflow/c/python_api.cc
TF_SetFullType(graph, op, full_type_proto); } void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device) { TF_SetRequestedDevice(graph, op, device); } void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, TF_Status* status) { TF_UpdateEdge(graph, new_src, dst, status); } void ExtendSession(TF_Session* session, TF_Status* status) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
CreateDependentLoopInvariantValue(root, "div1", "loop", iv.loop_cond, 0); FixupSourceAndSinkEdges(root.graph()); TF_ASSERT_OK(root.graph()->UpdateEdge(div1.induction_var.node(), 0, div0.latch.output_true.node(), 0)); TF_ASSERT_OK(root.graph()->UpdateEdge(div0.induction_var.node(), 0, div1.latch.output_true.node(), 0)); VLogGraphIfAsked(*root.graph());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/c/python_api.h
const TF_Buffer* full_type_proto); void SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device); // Updates 'dst' to consume 'new_src'. void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, TF_Status* status); // Extends `session` with any new operations added to its associated graph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc
Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size_placeholder); Output size = ops::Const(root.WithOpName("size"), {-8, 500}); TF_ASSERT_OK(root.graph()->UpdateEdge(/*new_src=*/size.node(), /*new_src_index=*/0, /*dst=*/slice.node(), /*dst_index=*/2)); std::unique_ptr<Graph> result;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 18.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util_test.cc
ops::Merge merge(s.WithOpName("merge"), {init_value, init_value}); Output next_iteration = ops::NextIteration(s.WithOpName("next_itr"), merge.output); return s.graph()->UpdateEdge(next_iteration.node(), 0, merge.output.node(), 1); } TEST(NodesRelatedToRefVariables, Cycles) { Scope root = Scope::NewRootScope().ExitOnError();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
root.graph()->AddControlEdge(predicate_as_control.node(), identity_n.operation.node()); for (int i = 0, end = int32_inputs.size(); i < end; i++) { TF_RETURN_IF_ERROR(root.graph()->UpdateEdge(identity_n[i].node(), i, n, int32_inputs_input_idxs[i])); } return absl::OkStatus(); } Status ReplaceNodeWithXlaCompileAndXlaRun(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
"Cannot update edge, incompatible shapes: ", ic_dst->DebugString(shape), " and ", ic_dst->DebugString(ic_dst->input(dst.index)), "."); return; } status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index, &dst.oper->node, dst.index); if (TF_GetCode(status) == TF_OK) { // This modification only updates the destination node for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); EXPECT_TRUE(found_neg); // Clean up TF_DeleteGraph(graph); TF_DeleteStatus(s); } TEST(CAPI, UpdateEdge) { TF_Status* s = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Make two scalar constants. TF_Operation* one = ScalarConst(1, graph, s, "one"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} else if (update_inplace && edge->IsControlEdge()) { control_edges.push_back(edge); } } for (const auto* edge : data_edges) { TF_RETURN_IF_ERROR(graph_->UpdateEdge(placeholder_node, 0, edge->dst(), edge->dst_input())); } // TODO(lyandy): Preserve control dependencies properly by not forwarding
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)