- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for saved_model_version (0.54 sec)
-
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
return kTrFailure; } if (import_saved_model_object_graph || import_saved_model_signature_defs) { // Saved model import path. int saved_model_version; if (import_saved_model_object_graph) { saved_model_version = 2; } else { saved_model_version = 1; } if (input_mlir) module = tensorflow::errors::InvalidArgument( "Importing saved model should not have input_mlir set");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
if (saved_model_version == 2) { auto module_or = SavedModelObjectGraphToMlirImport( input_filename, tags, exported_names, context, /*unconditionally_use_set_output_shapes=*/true); if (!module_or.status().ok()) return module_or.status(); return std::move(module_or).value(); } else if (saved_model_version == 1) { MLIRImportOptions options;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h
// Load Saved model (either v1 or v2) into MLIR. // 'saved_model_bundle' will be initialized if V1 model was loaded. absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportSavedModel( const std::string& input_filename, int saved_model_version, const std::unordered_set<std::string>& tags, absl::Span<const std::string> extra_tf_opdefs, absl::Span<std::string> exported_names, const GraphImportConfig& specs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 08:30:24 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc
auto bundle = std::make_unique<tensorflow::SavedModelBundle>(); TF_ASSIGN_OR_RETURN( auto module, ImportSavedModel( model_flags.saved_model_dir(), model_flags.saved_model_version(), tags, absl::MakeSpan(custom_opdefs), exported_names, specs, !toco_flags.enable_tflite_resource_variables(), &context, &bundle)); if (!model_flags.input_arrays().empty() ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
std::vector<std::string> custom_opdefs; tensorflow::GraphImportConfig specs; specs.upgrade_legacy = true; return ImportSavedModel(input_path, /*saved_model_version=*/1, tags, absl::MakeSpan(custom_opdefs), exported_names, specs, /*enable_variable_lifting=*/true, context, saved_model_bundle); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0)