- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DumpTextualIRToFile (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
TF_ASSERT_OK(NodeBuilder("A", "Placeholder") .Attr("dtype", DT_FLOAT) .Finalize(&graph, &node)); string actual; StringWritableFile file(&actual); TF_ASSERT_OK(DumpTextualIRToFile(MlirDumpConfig().emit_location_information(), graph, /*flib_def=*/nullptr, &file)); string expected_substr = R"(loc(#loc))"; ExpectHasSubstr(actual, expected_substr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc
if (!s.ok()) { LOG(WARNING) << "Write failed: " << s; file = nullptr; } } } // The file being written to. WritableFile* file; }; } // namespace Status DumpTextualIRToFile(const MlirDumpConfig& config, const Graph& graph, const FunctionLibraryDefinition* flib_def, WritableFile* file) { WritableFileRawStream os(std::move(file));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0)