Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for validate_shape (0.3 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/func_with_dead_ops.mlir

        "tf.AssignVariableOp"(%arg3, %13#10) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<128x1024xf32>>>, tensor<128x1024xf32>) -> ()
        "tf.AssignVariableOp"(%arg5, %13#8) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<1024x1xf32>>>, tensor<1024x1xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

    // CHECK: "tf.AssignVariableOp"(%[[VAR_HANDLE_0]], %[[RESTORE]]#0) <{validate_shape = false}> : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
    // CHECK: "tf.AssignVariableOp"(%[[VAR_HANDLE_1]], %[[RESTORE]]#1) <{validate_shape = false}> : (tensor<!tf_type.resource<tensor<4xi32>>>, tensor<4xi32>) -> ()
    
    // Test that the locs are properly set to their shared_names.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/c/kernels_experimental.h

    // conditions are met:
    //   1. `validate_shape` is set to `true`
    //   2. The variable is initialized
    //   3. The shape of the value tensor doesn't match the shape of the variable
    //      tensor.
    TF_CAPI_EXPORT extern void TF_AssignVariable(
        TF_OpKernelContext* ctx, int input_index, int value_index,
        bool validate_shape,
        void (*copyFunc)(TF_OpKernelContext* ctx, TF_Tensor* source,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

      // CHECK: "tf.AssignVariableOp"([[VAR_HANDLE]], [[NEW_VAR]]) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<*xf32>>>, tensor<*xf32>) -> ()
      // CHECK: "tf.AssignVariableOp"([[M_HANDLE]], [[NEW_M]]) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<*xf32>>>, tensor<*xf32>) -> ()
      // CHECK: "tf.AssignVariableOp"([[V_HANDLE]], [[NEW_V]]) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<*xf32>>>, tensor<*xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. tensorflow/c/kernels_experimental.cc

          return nullptr;
        }
      }
      return cc_ctx->input_ref_mutex(input);
    }
    
    void TF_AssignVariable(TF_OpKernelContext* ctx, int input_index,
                           int value_index, bool validate_shape,
                           void (*copyFunc)(TF_OpKernelContext* ctx,
                                            TF_Tensor* source, TF_Tensor* dest),
                           TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

        "tf.AssignVariableOp"(%arg0, %3) <{validate_shape = false}> : (tensor<*x!tf_type.resource<tensor<1xf32>>>, tensor<1xf32>) -> ()
        tf_device.return
      }
      func.return
    }
    
    func.func private @write_chain_func(%arg0: tensor<1xf32>) -> (tensor<1xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

        %0 = "tf.VarHandleOp"() <{container = "", shared_name = "Variable"}> : () -> tensor<!tf_type.resource<tensor<!tf_type.string>>>
        "tf.AssignVariableOp"(%0, %cst) <{validate_shape = false}> : (tensor<!tf_type.resource<tensor<!tf_type.string>>>, tensor<!tf_type.string>) -> ()
        %2 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<!tf_type.string>>>) -> tensor<*x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        Arg<TF_Tensor, [{Should be from a `Variable` node. May be uninitialized.}]>:$ref,
        Arg<TF_Tensor, [{The value to be assigned to the variable.}]>:$value,
    
        DefaultValuedOptionalAttr<BoolAttr, "true">:$validate_shape,
        DefaultValuedOptionalAttr<BoolAttr, "true">:$use_locking
      );
    
      let results = (outs
        Res<TF_Tensor, [{= Same as "ref".  Returned as a convenience for operations that want
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          }
        }
    
        auto set_shape_from_list_attr = [&](const AttrValue* attr) {
          auto& list = attr->list();
          // This follows the same approach as in ValidateShape, but only flags
          // warning in case where there are mismatch in number of shapes and
          // outputs and in which case it just returns without attempting to refine.
          if (list.shape_size() != node->num_outputs()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top