| 86 | } |
| 87 | |
| 88 | TensorShape XlaOpKernelContext::InputShape(int index) { |
| 89 | return context_->input(index).shape(); |
| 90 | } |
| 91 | |
| 92 | TensorShape XlaOpKernelContext::InputShape(absl::string_view name) { |
| 93 | return GetInputTensorByName(name).shape(); |
no test coverage detected