Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for saved_model_tags_ (0.25 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      }
    
      // Write MLIR Stablehlo dialect into FlatBuffer
      OpOrArgLocNameMapper op_or_arg_name_mapper;
      tflite::FlatbufferExportOptions options;
      options.toco_flags = toco_flags;
      options.saved_model_tags = saved_model_tags;
      options.op_or_arg_name_mapper = &op_or_arg_name_mapper;
      options.metadata[tflite::kModelUseStablehloTensorKey] = "true";
      if (!tflite::MlirToFlatBufferTranslateFunction(module, options, result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

      TF_RETURN_IF_ERROR(internal::RegisterAllCustomOps(toco_flags));
    
      auto& saved_model_tags = model_flags.saved_model_tags();
      auto& saved_model_exported_names = model_flags.saved_model_exported_names();
      std::unordered_set<std::string> tags(saved_model_tags.begin(),
                                           saved_model_tags.end());
      auto exported_names_in_vector = std::vector<std::string>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
        mlir::OwningOpRef<mlir::ModuleOp> module,
        const mlir::TFL::PassConfig& pass_config,
        const std::unordered_set<std::string>& saved_model_tags,
        std::string* result, SavedModelBundle* saved_model_bundle,
        const PyFunctionLibrary* quantization_py_function_lib) {
      if (toco_flags.has_dump_graphviz_dir()) {
        TF_RETURN_IF_ERROR(DumpOpGraphToFile(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

          saved_model_version = 1;
        }
        if (input_mlir)
          module = tensorflow::errors::InvalidArgument(
              "Importing saved model should not have input_mlir set");
    
        tags = absl::StrSplit(saved_model_tags, ',');
        std::vector<std::string> exported_names_vector =
            absl::StrSplit(saved_model_exported_names, ',', absl::SkipEmpty());
        absl::Span<std::string> exported_names(exported_names_vector);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top