[tf2xla] Remove extra space in error message
PiperOrigin-RevId: 307491765 Change-Id: I17201aebab160fc981c39a2fa68e5fe13e660e5b
This commit is contained in:
parent
711627bacc
commit
e3d54be705
@ -202,7 +202,7 @@ class StridedSliceOp : public XlaOpKernel {
|
|||||||
ctx, output_elements == input_elements_sliced,
|
ctx, output_elements == input_elements_sliced,
|
||||||
errors::InvalidArgument(
|
errors::InvalidArgument(
|
||||||
"The number of output elements ", output_elements,
|
"The number of output elements ", output_elements,
|
||||||
" has to equal to number of input elements that are sliced ",
|
" has to equal to number of input elements that are sliced ",
|
||||||
input_elements_sliced, " when input indices are not constant."));
|
input_elements_sliced, " when input indices are not constant."));
|
||||||
|
|
||||||
for (int64 i = 0; i < ctx->InputShape("begin").dims(); ++i) {
|
for (int64 i = 0; i < ctx->InputShape("begin").dims(); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user