Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GraphdefToMlirOptions (0.71 sec)

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

    #include "tensorflow/cc/saved_model/loader.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h"
    
    namespace tensorflow {
    
    using tsl::Status;
    using tsl::StatusOr;
    
    struct GraphdefToMlirOptions {
      std::string debug_info_file;
      std::string xla_compile_device_type;
      bool prune_unused_nodes;
      bool convert_legacy_fed_inputs;
      bool graph_as_function;
      bool upgrade_legacy;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

        const std::vector<std::optional<std::vector<int>>>& input_shapes,
        const std::vector<std::string>& output_arrays,
        const std::vector<std::string>& control_output_arrays,
        const GraphdefToMlirOptions& import_options, mlir::MLIRContext* context) {
      GraphDef graphdef;
      TF_RETURN_IF_ERROR(
          tensorflow::LoadProtoFromBuffer({input.data(), input.size()}, &graphdef));
      if (!port::kLittleEndian)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

      return {ref.data(), ref.size()};
    }
    }  // namespace
    
    static OwningOpRef<mlir::ModuleOp> GraphdefToMlirTranslateFunction(
        llvm::StringRef input, MLIRContext* context) {
      tensorflow::GraphdefToMlirOptions options{
          debug_info_file,        xla_compile_device_type,
          prune_unused_nodes,     convert_legacy_fed_inputs,
          graph_as_function,      upgrade_legacy,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      }
    
      // Register extra TF ops passed as OpDef.
      auto extra_opdefs_status = RegisterExtraTfOpDefs(extra_tf_opdefs);
      if (!extra_opdefs_status.ok()) return extra_opdefs_status;
    
      GraphdefToMlirOptions graphdef_conversion_options{
          std::string(debug_info_file),
          /*xla_compile_device_type=*/"",
          /*prune_unused_nodes=*/specs.prune_unused_nodes,
          /*convert_legacy_fed_inputs=*/true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top