Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tflite/converter/transforms/legalize_tf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Value GetShape(Value input, Location loc, PatternRewriter& rewriter) {
// If the shape is not static, create a new ShapeOp.
BoolAttr false_attr = rewriter.getBoolAttr(false);
return TF::ShapeOp::create(rewriter, loc, input,
/*use_32bit=*/false_attr)
/*use32Bit=*/false_attr)
.getOutput();
}

Expand Down
2 changes: 1 addition & 1 deletion tflite/converter/transforms/lower_static_tensor_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ struct ConvertTensorListLength

BoolAttr true_attr = rewriter.getBoolAttr(true);
auto shape = TF::ShapeOp::create(rewriter, loc, input_handle,
/*use_32bit=*/true_attr);
/*use32Bit=*/true_attr);
rewriter.replaceOpWithNewOp<TF::GatherOp>(
op, op.getType(), shape, CreateI32SplatConst(loc, &rewriter, {}, 0),
/*validate_indices=*/true_attr);
Expand Down
Loading