Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc78616f

Browse files
Merge pull request#59992 from tensorflow/fix-2.11-build
Fix 2.11 build
2 parentsa7331b8 +609e5ad commitc78616f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tensorflow/compiler/mlir/xla/transforms/legalize_tf.cc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5819,11 +5819,11 @@ class ConvertRandomShuffleOp : public OpRewritePattern<TF::RandomShuffleOp> {
58195819
LogicalResultmatchAndRewrite(TF::RandomShuffleOp op,
58205820
PatternRewriter &rewriter)constoverride {
58215821
auto no_op = [&]() {
5822-
rewriter.replaceOp(op, op.getValue());
5822+
rewriter.replaceOp(op, op.value());
58235823
returnsuccess();
58245824
};
58255825

5826-
auto input_type = op.getValue().getType().dyn_cast<RankedTensorType>();
5826+
auto input_type = op.value().getType().dyn_cast<RankedTensorType>();
58275827
if (!input_type)returnfailure();
58285828
if (input_type.hasStaticShape() && input_type.getNumElements() <=1)
58295829
// No shuffling is required, so copy input directly to output.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp