Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DumpTextualIRToFile (0.24 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h

    namespace tensorflow {
    
    struct MlirDumpConfig;
    
    // Dumps 'graph_def' to a file, as textual IR. Returns the file name chosen.
    //
    // Note: This is for debugging use and is not optimized for performance.
    Status DumpTextualIRToFile(const MlirDumpConfig& config, const Graph& graph,
                               const FunctionLibraryDefinition* flib_def,
                               WritableFile* file);
    
    // Config of the textual dump.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 24 09:43:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top