Skip to content

Commit

Permalink
Fix typo in the documentation for tensor_cast (NFC)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 267650411
  • Loading branch information
joker-eph authored and tensorflower-gardener committed Sep 6, 2019
1 parent b78410f commit 06398f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/include/mlir/Dialect/StandardOps/Ops.td
Expand Up @@ -881,7 +881,7 @@ def TensorCastOp : CastOp<"tensor_cast"> {
operation is invalid if converting to a mismatching constant dimension.

Convert from unknown rank to rank 2 with unknown dimension sizes.
%2 = tensor_cast %1 : tensor<??f32> to tensor<?x?xf32>
%2 = tensor_cast %1 : tensor<*xf32> to tensor<?x?xf32>
}];

let arguments = (ins AnyTensor);
Expand Down

0 comments on commit 06398f3

Please sign in to comment.