Skip to content

Commit

Permalink
MHLO Pretty Print - Enhance type printing for CopyOp, ClampOp, CstrRe…
Browse files Browse the repository at this point in the history
…shapeOp, ComputeReshapeShapeOp, SelectOp.

Based on:
openxla/stablehlo#37

PiperOrigin-RevId: 466802406
  • Loading branch information
jax authors committed Oct 27, 2022
1 parent 540835f commit 1900a60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/filecheck/array.filecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ def main(_):

# CHECK-LABEL: TEST: select bool[2,7] int32[2,7] int32[2,7]
# CHECK: mhlo.select
# CHECK-SAME: tensor<2x7xi1>
# CHECK-SAME: tensor<2x7xi32>
# CHECK-SAME: tensor<2x7xi32>
# CHECK-SAME: tensor<2x7xi1>, tensor<2x7xi32>
print_ir(np.empty([2, 7], np.bool_), np.empty([2, 7], np.int32),
np.empty([2, 7], np.int32))(lax.select)

Expand Down

0 comments on commit 1900a60

Please sign in to comment.