8000 Automated Code Change · IBMZ-Linux-OSS-Python/tensorflow@ae370f7 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit ae370f7

Browse files
Automated Code Change
PiperOrigin-RevId: 766503751
1 parent 9d5fd1d commit ae370f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/compiler/tf2xla/kernels/fake_quantize_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class FakeQuantWithMinMaxVarsPerChannelGradOp : public XlaOpKernel {
325325
absl::Span<const int64_t> input_dimensions = input_shape.dimensions();
326326

327327
std::vector<int64_t> reduce_axes;
328-
for (int64_t i = 0; i + 1 < input_shape.dimensions_size(); ++i) {
328+
for (int64_t i = 0; i + 1 < input_shape.dimensions().size(); ++i) {
329329
reduce_axes.push_back(i);
330330
}
331331

0 commit comments

Comments
 (0)
0