提交 84258bce 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Remove log spam from strided slice op.

PiperOrigin-RevId: 328185599
Change-Id: I6c080b2410f92d03911ed89bc979b948633eec8c
上级 4370219c
......@@ -53,7 +53,6 @@ class StridedSliceOp : public XlaOpKernel {
void Compile(XlaOpKernelContext* ctx) override {
const TensorShape input_shape = ctx->InputShape(0);
const TensorShape begin_shape = ctx->InputShape("begin");
VLOG(0) << "strided slice";
OP_REQUIRES(
ctx, begin_shape.dims() == 1,
errors::InvalidArgument("'begin' input has to be a rank 1 vector"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册