| 431 | } // namespace |
| 432 | |
| 433 | Status XlaOpKernelContext::ReadVariableInput(int index, DataType type, |
| 434 | TensorShape* shape, |
| 435 | xla::XlaOp* value) { |
| 436 | return ReadVariableInputTensor(context_->input(index), type, this, shape, |
| 437 | value); |
| 438 | } |
| 439 | |
| 440 | Status XlaOpKernelContext::ReadVariableInput(absl::string_view name, |
| 441 | DataType type, TensorShape* shape, |