Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GraphImportConfig (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

                               absl::string_view shapes,
                               GraphImportConfig::InputArrays* inputs);
    
    Status ParseInputArrayInfo(
        const std::vector<string>& node_names,
        const std::vector<string>& node_dtypes,
        const std::vector<std::optional<std::vector<int>>>& node_shapes,
        GraphImportConfig::InputArrays* inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

        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,
        const FunctionLibraryDefinition& flib_def, const GraphImportConfig& specs,
        mlir::MLIRContext* context);
    
    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/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> LoadFromGraphdefOrMlirSource(
        const std::string& input_filename, bool input_mlir,
        bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs,
        const GraphImportConfig& specs, absl::string_view debug_info_file,
        absl::string_view input_arrays, absl::string_view input_dtypes,
        absl::string_view input_shapes, absl::string_view output_arrays,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h

    namespace tensorflow {
    
    // TODO(jpienaar): This file and class are confusingly named. This seems to be
    // a SavedModel only import options file that exposes a subset of the
    // GraphImportConfig options, but the naming would make one think it is more
    // general.
    struct MLIRImportOptions {
      // If true, functionalize the input graph before importing it into MLIR.
      bool upgrade_legacy = false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.cc

        const GraphDebugInfo& debug_info, const GraphDef& input,
        std::string* result) {
      using ::tflite::optimize::ReducedPrecisionSupport;
      mlir::MLIRContext context;
      GraphImportConfig specs;
      mlir::quant::QuantizationSpecs quant_specs;
    
      // Parse input arrays.
      std::vector<std::string> node_names;
      std::vector<std::string> node_dtypes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

              << 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()) {
        mlir::emitError(mlir::UnknownLoc::get(&ctx))
    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