Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GraphDebugInfo (4.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.cc

    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    absl::Status ConvertGraphDefToTFLiteFlatBuffer(
        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
        const GraphDebugInfo& debug_info, const GraphDef& input,
        std::string* result) {
      using ::tflite::optimize::ReducedPrecisionSupport;
      mlir::MLIRContext context;
      GraphImportConfig specs;
      mlir::quant::QuantizationSpecs quant_specs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/python/converter_python_api_wrapper.cc

          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, tuse MLIR-based conversion instead of
          TOCO conversion.
        )pbdoc");
      m.def(
          "ExperimentalMlirQuantizeModel",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

          mlir::emitError(mlir::UnknownLoc::get(&ctx))
              << pass->name() << ": " << status.message();
          return signalPassFailure();
        }
      }
    
      // Convert Graph to MLIR
      GraphDebugInfo debug_info;
      GraphImportConfig specs;
      auto module_or_status =
          ConvertGraphToMlir(**options.graph, debug_info, flib_def, specs, &ctx);
      if (!module_or_status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top