Skip to content

Commit bcf3fe2

Browse files
aaroeytensorflower-gardener
authored andcommitted
Remove unused local variable.
PiperOrigin-RevId: 357019308 Change-Id: I0dcb5a1868725e1c894589a14469bc9747abdfcc
1 parent 84377fe commit bcf3fe2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tensorflow/core/kernels/resource_variable_ops.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ VarHandleOp::VarHandleOp(OpKernelConstruction* context) : OpKernel(context) {
221221
OP_REQUIRES_OK(context, context->GetAttr("shared_name", &name_));
222222

223223
OP_REQUIRES_OK(context, context->GetAttr("dtype", &dtype_and_shape_.dtype));
224-
PartialTensorShape shape;
225224
OP_REQUIRES_OK(context, context->GetAttr("shape", &dtype_and_shape_.shape));
226225

227226
is_anonymous_ = name_ == ResourceHandle::ANONYMOUS_NAME;

0 commit comments

Comments
 (0)