- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 55 for asSet (0.05 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h
// Saves `exported_model` to `dst_saved_model_path` as SavedModel. // `src_saved_model_path` is the path to the source SavedModel from which the // exported model is produced. It is used to copy the asset files to // `dst_saved_model_path`. `tags` will be attached to the saved // `MetaGraphDef`. `signature_def_map` will be passed to the // `add_meta_graph_and_variables` function, which is internally used to add a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir( module attributes {tf_saved_model.semantics} { "tf_saved_model.session_initializer"() <{initializers = []}> : () -> () "tf_saved_model.asset"() <{filename = "assets/vocab_file.txt", sym_name = "__tf_saved_model_asset0_vocab_file.txt"}> : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h
// in flat buffer. If the // * `session` pointer may provided, it will be used to freeze resource // variables. If the `saved_model_dir` directory path is provided, then the // `tf_saved_model.asset` ops will be freezed. Status ConvertTFExecutorToTFLOrFlatbuffer( mlir::ModuleOp module, bool export_to_mlir, toco::TocoFlags& toco_flags, const mlir::TFL::PassConfig& pass_config,
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/tensorflow/ir/tf_saved_model.h
return llvm::dyn_cast_or_null<T>( LookupBoundInput(func, arg_index, symbol_table)); } // Gets the type that an exported function arg that is bound to symbol ops such // as `global_tensor` and `asset` should have. Type GetBoundInputArgTypeFor(mlir::Operation *op); // Returns the session initializer of this module if it exists. Returns null // otherwise. SessionInitializerOp GetSessionInitializerOp(ModuleOp module_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 03:21:34 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's * {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc
return func_op; } } return {}; } TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) { OwningOpRef<ModuleOp> module_op = ParseModuleOpString(R"mlir( module { "tf_saved_model.asset"() {filename = "assets/file_0.txt", sym_name = "__tf_saved_model_asset0"} : () -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's * {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
dst_asset_file = file_io.join(curr_dst_dir, asset_file_name) file_io.copy_v2(src_asset_file, dst_asset_file) logging.info( 'Copied asset file: %s -> %s', src_asset_file, dst_asset_file ) def _validate_representative_dataset( representative_dataset: rd.RepresentativeDatasetOrMapping, signature_keys: Collection[str], ) -> None:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
return RankedTensorType::get( {}, TF::ResourceType::get({type}, type.getContext())); } if (auto asset = llvm::dyn_cast<AssetOp>(op)) { return RankedTensorType::get({}, TF::StringType::get(asset.getContext())); } op->emitError() << "unknown symbol operation"; return {}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
/*allow_mutable_tensors=*/pass_config.enable_tflite_variables)); } if (!saved_model_dir.empty()) { // This pass 'freezes' tf saved model asset ops and inlines as string values // in a format of the tf constant op. pass_manager->addPass( mlir::tf_saved_model::CreateFreezeAssetsPass(saved_model_dir.str())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0)