- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 81 for exported_names (0.19 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir
// CHECK-SAME: initializers = [@init_func_restore_op] func.func @init_func_restore_op() -> () attributes { tf_saved_model.initializer_type = "restore_op", tf_saved_model.exported_names = ["tf_saved_model.session_initializer_restore_op"]} { %cst_0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program_invalid.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 21:57:26 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
for (auto f : llvm::make_early_inc_range(getOperation().getOps<func::FuncOp>())) { auto exported_names = GetExportedNames(f); if (exported_names.empty() || !f.isPublic()) continue; if (exported_names.size() == 1 && exported_names[0] == f.getName()) { // Functions that already export themselves with their MLIR name // we can leave alone. This saves one level of indirection.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.h
absl::Span<std::string> exported_names, MLIRImportOptions options = {}); // Given a V1 SavedModel, returns a MLIR module containing the functions, // expressed with tf_executor dialect. absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertSavedModelV1ToMlir( const SavedModelBundle& saved_model, absl::Span<std::string> exported_names, mlir::MLIRContext* context, MLIRImportOptions options = {});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_input.py
# CHECK-SAME: %arg1: tensor<2xf32> {tf._user_specified_name = "y", tf_saved_model.index_path = [1]}) # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["f0000_function_arity"] @tf.function(input_signature=[ tf.TensorSpec([1], tf.float32), tf.TensorSpec([2], tf.float32) ]) def f0000_function_arity(self, x, y): return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir
module attributes {tf_saved_model.semantics} { "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> () func.func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} { %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi64> %cst_0 = arith.constant dense<["a", "b", "c", "d"]> : tensor<4x!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/partially_shaped_variables.py
# CHECK: "tf_saved_model.global_tensor"() <{is_mutable, {{.*}} type = tensor<?xf32>, value = dense<[0.000000e+00, 1.000000e+00]> : tensor<2xf32>}> {tf_saved_model.exported_names = ["v1"]} : () -> () self.v0 = tf.Variable([0.], shape=tf.TensorShape(None)) self.v1 = tf.Variable([0., 1.], shape=[None])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program.mlir
func.func @f(%arg0: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v}) -> (tensor<?xf32> {tf_saved_model.index_path = []}) attributes {tf_saved_model.exported_names = ["f"]} { %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<?xf32>>>) -> tensor<?xf32> return %0 : tensor<?xf32> } } // ----- // CHECK-LABEL: module
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 21:57:26 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_remove_vars_in_session_initializer.mlir
"tf_saved_model.session_initializer"() { initializers = [@init] } : () -> () // expected-error@+1 {{expects exactly one block in the MLIR function}} func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"], tf_saved_model.initializer_type = "restore_op"} { cf.br ^bb1 ^bb1: func.return } } // ----- module attributes {tf_saved_model.semantics} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 00:22:36 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
`tf.Module` to be converted and printed. exported_names: A set of exported names for the MLIR converter (default is "export all"). show_debug_info: If true, shows debug locations in the resulting MLIR. """ if exported_names is None: exported_names = [] # Make LOG(ERROR) in C++ code show up on the console.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 23:49:27 UTC 2023 - 4K bytes - Viewed (0)