| 4 | namespace imperative { |
| 5 | |
| 6 | DTypeValue::ref_t InterpreterValue::dtype() const { |
| 7 | if (!m_dtype) { |
| 8 | m_dtype = DTypeValue::make(handle()->channel()->get_dtype(handle()->handle())); |
| 9 | } |
| 10 | return m_dtype; |
| 11 | } |
| 12 | |
| 13 | CompNodeValue::ref_t InterpreterValue::comp_node() const { |
| 14 | if (!m_comp_node) { |
no test coverage detected