- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 59 for cond_input (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program_invalid.mlir
// expected-error@+1 {{Incompatible code paths}} func.func @f(%arg0: tensor<?xf32> {tf_saved_model.index_path = [0]}, %v: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v}, %v1: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v1}) -> (tensor<?xf32> {tf_saved_model.index_path = [0]}) attributes {tf_saved_model.exported_names = ["f"]} { %pred = arith.constant false
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/ir/tf_saved_model_ops.td
(i.e. `obj[0]["x"]`). The function arg attribute `tf_saved_model.bound_input = @some_symbol_name` references a `tf_saved_model.global_tensor` that is bound to that function argument and implicitly passed in when the function is invoked from a user-level API. TODO(silvasean): Consider replacing tf_saved_model.bound_input arg attrs with "get_global @some_global_tensor" in the function body. }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_variables_v1.py
# CHECK: func {{@[a-zA-Z_0-9]+}}( # CHECK-SAME: [[ARG0:%.*]]: tensor<!tf_type.resource<tensor<5x3xf32>>> {tf_saved_model.bound_input = @[[VAR0]]}, # CHECK-SAME: [[ARG1:%.*]]: tensor<!tf_type.resource<tensor<3x5xf32>>> {tf_saved_model.bound_input = @[[VAR1]]}) # CHECK-SAME: -> (tensor<5x5xf32> {{{.*}}}) # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key"]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc
Builder& builder) { // Keep all other attributes except the tf_saved_model.bound_input attribute, // as we are replacing it with tf_saved_model.index_path. SmallVector<NamedAttribute> new_arg_attrs; for (auto arg_attr : arg_attrs) { if (arg_attr.getName() == "tf_saved_model.bound_input") continue; new_arg_attrs.emplace_back(arg_attr); } const NamedAttribute index_path_attr(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shared_variable_v1.py
# CHECK: func {{@[a-zA-Z_0-9]+}}( # CHECK-SAME: [[ARG0:%.*]]: tensor<3x1xf32> {tf_saved_model.index_path = ["x"]}, # CHECK-SAME: [[ARG1:%.*]]: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.bound_input = @[[VAR]]}) # CHECK-SAME: -> (tensor<3x3xf32> {tf_saved_model.index_path = ["r"]}) # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key"] # CHECK: func {{@[a-zA-Z_0-9]+}}(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/include_variables_in_init_v1.py
# Initializer function. This should contain the initialization sequence for the # variable. # CHECK: func @[[INIT_FUNC]](%[[ARG_0:.*]]: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.bound_input = @y}) attributes { # CHECK-SAME: tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"] # CHECK-SAME: tf_saved_model.initializer_type = "init_op" # CHECK-SAME: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors_mutable_tensors.mlir
"tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", type = tensor<f32>, value = dense<1.0> : tensor<f32> } : () -> () func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v}) attributes {tf_saved_model.exported_names = ["f"]} { // CHECK: "tf.ReadVariableOp" %0 = "tf.ReadVariableOp"(%arg0) {device = ""} : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32> func.return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 703 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td
If this pass runs successfully, the resultant IR will be guaranteed to: 1. Not contain any tf_saved_model.global_tensor ops 2. Not contain any tf_saved_model.bound_input arg attrs on tf_saved_model exported functions Else, the pass fails. The reason this pass has this contract is so that once this succeeds, we know
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 09 19:11:34 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/strip_saved_module_metadata.mlir
"tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", type = tensor<?xf32>, value = dense<1.> : tensor<1xf32> } : () -> () func.func @f(%arg0: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v}) -> (tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.index_path = []}) attributes {tf_saved_model.exported_names = ["f"]} { // CHECK: return return %arg0 : tensor<!tf_type.resource<tensor<?xf32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 30 01:28:41 UTC 2022 - 712 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h
// `tf_saved_model::AssetOp`s into regular tensor args. Returns `AsestFileDef`s // that associates the arg with the asset. // // In detail, this function performs the following: // * Replaces "tf_saved_model.bound_input" attributes to // "tf_saved_model.index_path", if the bound input is attached to the // `tf_saved_model::AssetOp`. // * Strips the "assets/" prefix of the filename when setting it to // `AssetFileDef`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 01:45:41 UTC 2023 - 1.7K bytes - Viewed (0)