Skip to content

Commit 345ae8d

Browse files
TFRT teamcopybara-github
authored andcommitted
Nothing to see here. Move along.
PiperOrigin-RevId: 729288656
1 parent 604b26f commit 345ae8d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

backends/common/include/tfrt/common/compat/eigen/spatial_convolution.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ SpatialConvolution(const Input& input, const FixedRankShape<4>& input_shape,
107107

108108
// Check input/kernel expressions dimensions. Constructing a TensorRef might
109109
// trigger expression evaluation, so we do it only in debug mode.
110-
using InputRef = TensorRef<Tensor<InputScalar, kRank, RowMajor, IndexType>>;
111-
using KernelRef = TensorRef<Tensor<KernelScalar, kRank, RowMajor, IndexType>>;
110+
using InputRef =
111+
TensorRef<const Tensor<InputScalar, kRank, RowMajor, IndexType>>;
112+
using KernelRef =
113+
TensorRef<const Tensor<KernelScalar, kRank, RowMajor, IndexType>>;
112114

113115
auto ref_shape = [](auto ref) -> FixedRankShape<4> {
114116
return FixedRankShape<4>({ref.dimension(0), ref.dimension(1),

0 commit comments

Comments
 (0)