| 66 | } |
| 67 | } |
| 68 | inline void as_format(std::string format) { |
| 69 | if (!format.empty()) { |
| 70 | m_data = imperative::apply(AsFormat(format), m_data)[0]; |
| 71 | } |
| 72 | } |
| 73 | inline HostValue::ref_t numpy() { return data().numpy(); } |
| 74 | inline void reset(ValueRef value) { |
| 75 | m_data = value; |
no test coverage detected