| 255 | } |
| 256 | |
| 257 | void Tensor::update_from_implement() { |
| 258 | LITE_ERROR_HANDLER_BEGIN |
| 259 | m_layout = m_tensor_impl->get_layout(); |
| 260 | m_device_type = m_tensor_impl->get_device_type(); |
| 261 | m_device_id = m_tensor_impl->get_device_id(); |
| 262 | m_is_pinned_host = m_tensor_impl->is_pinned_host(); |
| 263 | LITE_ERROR_HANDLER_END |
| 264 | } |
| 265 | |
| 266 | void LiteAny::type_missmatch(size_t expect, size_t get) const { |
| 267 | LITE_THROW(ssprintf( |
no test coverage detected