Remove unused local variable.
PiperOrigin-RevId: 357019308 Change-Id: I0dcb5a1868725e1c894589a14469bc9747abdfcc
This commit is contained in:
parent
84377fe862
commit
bcf3fe2a6a
@ -221,7 +221,6 @@ VarHandleOp::VarHandleOp(OpKernelConstruction* context) : OpKernel(context) {
|
||||
OP_REQUIRES_OK(context, context->GetAttr("shared_name", &name_));
|
||||
|
||||
OP_REQUIRES_OK(context, context->GetAttr("dtype", &dtype_and_shape_.dtype));
|
||||
PartialTensorShape shape;
|
||||
OP_REQUIRES_OK(context, context->GetAttr("shape", &dtype_and_shape_.shape));
|
||||
|
||||
is_anonymous_ = name_ == ResourceHandle::ANONYMOUS_NAME;
|
||||
|
Loading…
Reference in New Issue
Block a user