| 1610 | |
| 1611 | template <class T> |
| 1612 | Status OpKernelConstruction::GetAttr(StringPiece attr_name, T* value) const { |
| 1613 | return GetNodeAttr(def(), attr_name, value); |
| 1614 | } |
| 1615 | |
| 1616 | inline DataType OpKernelContext::input_dtype(int index) const { |
| 1617 | DCHECK_GE(index, 0); |