- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsInferenceGraph (0.12 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc
{DT_FLOAT}, f_name_attr); TF_ASSERT_OK(root.ToGraph(&graph)); EXPECT_TRUE(IsInferenceGraph(graph, /*function_library=*/nullptr)); } TEST(IsInferenceGraph, GraphDoesNotContrainTPUPartitionedCall) { FunctionDef fd = FunctionDefHelper::Define( // Name "XTimesTwoFloat", // Args {"x: float"},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 19:51:50 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h
// Check if a graph contains TPUPartitionedCall op, including its reachable // functions. The function library is used to store the functions that are // defined in a TensorFlow program bool IsInferenceGraph(const Graph& graph, const FunctionLibraryDefinition* function_library); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 16:33:22 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
func_op->walk([&](mlir::TF::TPUPartitionedCallOp op) { has_tpu_partitioned_call = true; }); if (has_tpu_partitioned_call) break; } return has_tpu_partitioned_call; } bool IsInferenceGraph(const Graph& graph, const FunctionLibraryDefinition* function_library) { if (DoesGraphContainTPUPartitionedCall(graph)) return true; GraphDef graph_def; graph.ToGraphDef(&graph_def);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0)