| 42 | } |
| 43 | |
| 44 | TypedValueRef<HostValue> ValueRef::numpy() const { |
| 45 | return imperative::apply(GetAttr(GetAttr::Value), *this)[0].cast_ref<HostValue>(); |
| 46 | } |
| 47 | |
| 48 | TypedValueRef<CompNodeValue> ValueRef::device() const { |
| 49 | return imperative::apply(GetAttr(GetAttr::Device), *this)[0] |
no test coverage detected