Home
last modified time | relevance | path

Searched refs:to_extent_tensor (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/mlir/test/Conversion/ShapeToStandard/
Dshape-to-standard.mlir155 // Lower `to_extent_tensor` to `std.tensor_cast`
156 // Fold to_extent_tensor when already on tensor.
157 // CHECK-LABEL: @to_extent_tensor
159 func @to_extent_tensor(%arg: tensor<?xindex>) -> tensor<3xindex> {
160 // CHECK-NOT: to_extent_tensor
162 %casted = shape.to_extent_tensor %arg : tensor<?xindex> -> tensor<3xindex>
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/
Dlegalize-tf-BatchMatMulV2.mlir17 // CHECK: [[LHSSHAPEEXTENTS:%.*]] = shape.to_extent_tensor [[LHSBCASTSHAPE]]
Dlegalize-tf.mlir446 // CHECK: %[[ARG0_EXTENTS:.+]] = shape.to_extent_tensor %[[ARG0_SHAPE]]
457 // CHECK: %[[ARG0_EXTENTS:.+]] = shape.to_extent_tensor %[[ARG0_SHAPE]]
468 // CHECK: %[[ARG0_EXTENTS:.+]] = shape.to_extent_tensor %[[ARG0_SHAPE]]
479 // CHECK: %[[ARG0_EXTENTS:.+]] = shape.to_extent_tensor %[[ARG0_SHAPE]]
527 // CHECK-DAG: [[EXT:%.+]] = shape.to_extent_tensor [[SHP]]
1770 // CHECK: %[[RESULT_EXTENTS:.+]] = shape.to_extent_tensor %[[RESULT_SHAPE]]
1785 // CHECK: %[[RESULT_EXTENTS:.+]] = shape.to_extent_tensor %[[RESULT_SHAPE]]
1842 // CHECK: %[[RESULT_EXTENTS:.+]] = shape.to_extent_tensor %[[RESULT_SHAPE]]
1926 // CHECK: [[TENSOR:%.+]] = shape.to_extent_tensor [[SHAPE]]
1937 // CHECK: [[TENSOR:%.+]] = shape.to_extent_tensor [[SHAPE]]
[all …]
/external/llvm-project/mlir/test/Dialect/Shape/
Dcanonicalize.mlir152 %0 = shape.to_extent_tensor %cs : !shape.shape -> tensor<2xindex>
853 // Fold to_extent_tensor when already on tensor.
856 // CHECK-NOT: to_extent_tensor
857 %casted = shape.to_extent_tensor %arg : tensor<?xindex> -> tensor<?xindex>
Dops.mlir152 %0 = shape.to_extent_tensor %arg : !shape.shape -> tensor<3xindex>
/external/tensorflow/tensorflow/compiler/mlir/tfr/tests/
Dops.mlir80 %2 = shape.to_extent_tensor %1 : !shape.shape -> tensor<1xindex>
84 // CANON-NEXT: %[[e:.*]] = shape.to_extent_tensor %[[s]] : tensor<?xindex> -> tensor<1xindex>
/external/llvm-project/mlir/include/mlir/Dialect/Shape/IR/
DShapeOps.td228 def Shape_ToExtentTensorOp : Shape_Op<"to_extent_tensor", [NoSideEffect]> {
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/
Dcanonicalize.mlir437 %1 = shape.to_extent_tensor %0 : !shape.shape -> tensor<1xindex>
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc5574 auto to_extent_tensor = rewriter.create<shape::ToExtentTensorOp>( in matchAndRewrite() local
5580 to_extent_tensor); in matchAndRewrite()