| 83 | } |
| 84 | |
| 85 | void ConstantOp::Compute(OpKernelContext* ctx) { |
| 86 | ctx->set_output(0, tensor_); |
| 87 | if (TF_PREDICT_FALSE(ctx->track_allocations())) { |
| 88 | ctx->record_persistent_memory_allocation(tensor_.AllocatedBytes()); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | ConstantOp::~ConstantOp() {} |
| 93 |
nothing calls this directly
no test coverage detected