| 27 | } |
| 28 | |
| 29 | void EagerOperation::AddInput(tensorflow::TensorHandle* h) { |
| 30 | h->Ref(); |
| 31 | inputs_.push_back(h); |
| 32 | attrs_.NumInputs(static_cast<int>(inputs_.size())); |
| 33 | } |
| 34 | |
| 35 | void EagerOperation::UpdateInput(int i, tensorflow::TensorHandle* h) { |
| 36 | h->Ref(); |
no test coverage detected