Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for GraphDebugInfo (0.2 sec)

  1. tensorflow/cc/saved_model/bundle_v2.h

        return trackable_object_graph_;
      }
    
      /// BundleReader for accessing the variables bundle.
      BundleReader* variable_reader() { return variable_reader_.get(); }
    
      /// The GraphDebugInfo (or nullptr if none).
      GraphDebugInfo* debug_info() { return debug_info_.get(); }
    
      /// Restores objects, invoking the callback with the node id in the
      /// saved_object_graph() and the corresponding TrackableObject from the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:32:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

        const GraphDef& graphdef, const GraphDebugInfo& debug_info,
        const GraphImportConfig& specs, mlir::MLIRContext* context);
    
    // Given a Graph, returns a MLIR module containing the graph, expressed with
    // tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertGraphToMlir(
        const Graph& graph, const GraphDebugInfo& debug_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/reader.cc

                          internal::FileExists(Env::Default(), debug_info_pb_path));
      if (debug_info_pb_exists) {
        GraphDebugInfo debug_info;
        TF_RETURN_IF_ERROR(
            ReadBinaryProto(Env::Default(), debug_info_pb_path, &debug_info));
        *debug_info_proto = std::make_unique<GraphDebugInfo>(std::move(debug_info));
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.h

    // it fails to convert the input.
    absl::Status ConvertGraphDefToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
        const GraphDebugInfo& debug_info, const GraphDef& input,
        std::string* result);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/reader.h

                                          MetaGraphDef* meta_graph_def);
    
    // Store debug info from the SavedModel export dir.
    Status ReadSavedModelDebugInfoIfPresent(
        absl::string_view export_dir,
        std::unique_ptr<GraphDebugInfo>* debug_info_proto);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/constants.h

    inline constexpr char kSavedModelFilenamePbTxt[] = "saved_model.pbtxt";
    
    // Subdirectory where debugging related files are written.
    inline constexpr char kSavedModelDebugDirectory[] = "debug";
    
    // File name for GraphDebugInfo protocol buffer which corresponds to the
    // SavedModel.
    inline constexpr char kSavedModelDebugInfoFilenamePb[] =
        "saved_model_debug_info.pb";
    
    // Directory in which to save the SavedModel variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/python/converter_python_api.h

    // flag is set to true returns a dictionary that contains string representation
    // of the converted model and some statistics like arithmetic ops count.
    // `debug_info_str` contains the `GraphDebugInfo` proto. When
    // `enable_mlir_converter` is True, use MLIR-based conversion instead of
    // TOCO conversion.
    PyObject* Convert(PyObject* model_flags_proto_txt_raw,
                      PyObject* toco_flags_proto_txt_raw,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/python/mlir.cc

    static std::string ImportGraphDefImpl(const std::string& proto,
                                          const std::string& pass_pipeline,
                                          bool show_debug_info,
                                          GraphDebugInfo& debug_info,
                                          GraphImportConfig& specs,
                                          TF_Status* status) {
      GraphDef graphdef;
      auto s = tensorflow::LoadProtoFromBuffer(proto, &graphdef);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc

      }
      auto convert = [&]() -> Status {
        mlir::StatusScopedDiagnosticHandler status_handler(&context);
        // TODO(jpienaar): Both the graph debug info and import config should be
        // specifiable.
        GraphDebugInfo debug_info;
        switch (config.dialect) {
          case MlirDumpConfig::Dialect::kTFG: {
            TF_ASSIGN_OR_RETURN(module,
                                mlir::tfg::ImportGraphAndFunctionsToMlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/reader_test.cc

      EXPECT_FALSE(st.ok());
    }
    
    TEST_F(ReaderTest, ReadSavedModelDebugInfoIfPresent) {
      const string export_dir = GetDataDependencyFilepath(TestDataSharded());
      std::unique_ptr<GraphDebugInfo> debug_info_proto;
      TF_ASSERT_OK(ReadSavedModelDebugInfoIfPresent(export_dir, &debug_info_proto));
    }
    
    TEST_F(ReaderTest, MetricsNotUpdatedFailedRead) {
      MetaGraphDef meta_graph_def;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 21:17:08 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top