| 157 | : OpKernel(context) {} |
| 158 | |
| 159 | void Compute(OpKernelContext* ctx) override { |
| 160 | const Tensor& handle = ctx->input(0); |
| 161 | const string& name = handle.scalar<tstring>()(); |
| 162 | OP_REQUIRES_OK(ctx, ctx->session_state()->DeleteTensor(name)); |
| 163 | } |
| 164 | |
| 165 | TF_DISALLOW_COPY_AND_ASSIGN(DeleteSessionTensorOp); |
| 166 | }; |
nothing calls this directly
no test coverage detected