| 646 | } |
| 647 | |
| 648 | void TFE_OpAddInput(TFE_Op* op, TFE_TensorHandle* input, TF_Status* status) { |
| 649 | op->operation.AddInput(input->handle); |
| 650 | if (op->inference_ctx) { |
| 651 | status->status = OpInferSingleInputAttrs(op, input); |
| 652 | } |
| 653 | } |
| 654 | |
| 655 | void TFE_OpAddInputList(TFE_Op* op, TFE_TensorHandle** inputs, int num_inputs, |
| 656 | TF_Status* status) { |