File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tensorflow/compiler/mlir/xla/transforms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5819,11 +5819,11 @@ class ConvertRandomShuffleOp : public OpRewritePattern<TF::RandomShuffleOp> {
5819
5819
LogicalResult matchAndRewrite (TF::RandomShuffleOp op,
5820
5820
PatternRewriter &rewriter) const override {
5821
5821
auto no_op = [&]() {
5822
- rewriter.replaceOp (op, op.getValue ());
5822
+ rewriter.replaceOp (op, op.value ());
5823
5823
return success ();
5824
5824
};
5825
5825
5826
- auto input_type = op.getValue ().getType ().dyn_cast <RankedTensorType>();
5826
+ auto input_type = op.value ().getType ().dyn_cast <RankedTensorType>();
5827
5827
if (!input_type) return failure ();
5828
5828
if (input_type.hasStaticShape () && input_type.getNumElements () <= 1 )
5829
5829
// No shuffling is required, so copy input directly to output.
You can’t perform that action at this time.
0 commit comments