Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VariableShape (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```mlir
        tf_device.replicate([%0, %1] as %ri: tensor<*x!tf_type.resource>) {n = 2 : i32} {
          %2 = "tf.ReadVariableOp"(%ri) : tensor<*x!tf_type.resource> -> tensor<*xi32>
          %3 = "tf.VariableShape"(%0) : (tensor<*x!tf_type.resource>) -> tensor<?xi32>
          tf_device.return
        }
        ```
      }];
    
      let dependentDialects = [
        "mhlo::MhloDialect",
        "tf_device::TensorFlowDeviceDialect"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let results = (outs
        TF_Tensor:$ref
      );
    
      TF_DerivedResultTypeAttr dtype = TF_DerivedResultTypeAttr<0>;
    
      let hasCanonicalizer = 1;
    }
    
    def TF_VariableShapeOp : TF_Op<"VariableShape", []> {
      let summary = "Returns the shape of the variable pointed to by `resource`.";
    
      let description = [{
    This operation returns a 1-D integer tensor representing the shape of `input`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top