| 46 | } |
| 47 | |
| 48 | TypedValueRef<CompNodeValue> ValueRef::device() const { |
| 49 | return imperative::apply(GetAttr(GetAttr::Device), *this)[0] |
| 50 | .cast_ref<CompNodeValue>(); |
| 51 | } |
| 52 | |
| 53 | TypedValueRef<ShapeValue> ValueRef::shape() const { |
| 54 | return imperative::apply(GetAttr(GetAttr::Shape), *this)[0].cast_ref<ShapeValue>(); |
no test coverage detected