diff options
author | 2016-01-05 14:05:27 -0800 | |
---|---|---|
committer | 2016-01-05 14:05:27 -0800 | |
commit | 1c579361cd1e088dd5e05a394b1561a73e3667ba (patch) | |
tree | ec464b9ac18113dc052744b6714eebbc7c6cc34d /tensorflow/core/kernels/reshape_op.h | |
parent | 208350a6092f9faa473daf8b6eb6a80e9f9518f1 (diff) |
Added 'logging' import to control_flow_ops which is used in the file but not imported.
Change: 110842260
Diffstat (limited to 'tensorflow/core/kernels/reshape_op.h')
-rw-r--r-- | tensorflow/core/kernels/reshape_op.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/core/kernels/reshape_op.h b/tensorflow/core/kernels/reshape_op.h index 8f908109ed..f1260746bf 100644 --- a/tensorflow/core/kernels/reshape_op.h +++ b/tensorflow/core/kernels/reshape_op.h @@ -39,9 +39,6 @@ class ReshapeOp : public OpKernel { errors::InvalidArgument("sizes input must be 1-D, not shape ", sizes.shape().ShortDebugString())); const int64 num_dims = sizes.NumElements(); - OP_REQUIRES( - context, num_dims <= 8, - errors::InvalidArgument(num_dims, " > max 8 output dims supported")); // Compute the output shape. Determine product of specified // dimensions, and find the index of the unspecified one. |