Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for validate_indices (0.21 sec)

  1. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

      %2 = "tf.TensorListStack"(%0, %arg1) : (tensor<!tf_type.variant<tensor<10xf32>>>, tensor<1xi32>) -> tensor<3x10xf32>
      func.return %1, %2 : tensor<10xf32>, tensor<3x10xf32>
    
    // CHECK:  %0 = "tf.Gather"(%arg0, %arg2) <{validate_indices = true}> : (tensor<3x10xf32>, tensor<i32>) -> tensor<10xf32>
    // CHECK: return %0, %arg0 : tensor<10xf32>, tensor<3x10xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @tensorlistGetItemWithUnknownRank
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/einsum.mlir

    // CHECK: %[[v4:.*]] = "tf.Shape"(%arg1) : (tensor<?x36x?x32xf32>) -> tensor<4xi32>
    // CHECK: %[[v5:.*]] = "tf.Gather"(%3, %[[cst_1]]) <{validate_indices = true}> : (tensor<3xi32>, tensor<2xi32>) -> tensor<2xi32>
    // CHECK: %[[v6:.*]] = "tf.Gather"(%4, %[[cst_2]]) <{validate_indices = true}> : (tensor<4xi32>, tensor<1xi32>) -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeGreaterEqual : Pat<(TF_GreaterEqualOp $l, $r),
                                   (TFL_GreaterEqualOp $l, $r)>;
    
    // Gather in TF -> Gather in TFL with axis=0
    // The 'validate_indices' attribute is deprecated.
    def LegalizeGather: Pat<
      (TF_GatherOp $params, $indices, $ignored_validate_indices),
      (TFL_GatherOp $params, $indices, ConstantAttr<I32Attr, "0">,
         ConstantAttr<I32Attr, "0">)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

        ]
      >;
    
    // Pattern to decompose tf.ResourceGather into tf.ReadVariable and tf.GatherV2.
    def DecomposeResourceGather : Pat<
      (TF_ResourceGatherOp:$old_result
        $resource, $indices, $batch_dims, $validate_indices),
      (TF_GatherV2Op:$dest
        (CreateTFReadVariableOp $old_result, $old_result, $resource),
        $indices,
        (TF_ConstOp $batch_dims), // axis
        $batch_dims
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    class GetI32Attr<int x>: NativeCodeCall<
      "$_builder.getI32IntegerAttr(" # x # ")">;
    
    class GetI64Attr<int x>: NativeCodeCall<
      "$_builder.getI64IntegerAttr(" # x # ")">;
    
    // The deprecated validate_indices attribute is NOT verified during
    // canonicalization because it is neither supported in the old bridge
    // nor in the reference TF implementation.
    def GatherToV2 : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      // return %[[RESULT]] : tensor<3x3xf32>
    
        %cst = mhlo.constant dense<3> : tensor<2xi32>
        %0 = "tf.SparseToDense"(%arg0, %cst, %arg1, %arg2) {validate_indices = true}: (tensor<3x2xi32>, tensor<2xi32>, tensor<3xf32>, tensor<f32>) -> tensor<3x3xf32>
        func.return %0 : tensor<3x3xf32>
      }
    
      // CHECK-LABEL: reverse_sequence
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
Back to top