| 137 | } |
| 138 | |
| 139 | std::shared_ptr<Tensor> Network::get_input_tensor(size_t index) { |
| 140 | LITE_ERROR_HANDLER_BEGIN |
| 141 | LITE_ASSERT(m_loaded, "get_input_tensor should be used after model loaded."); |
| 142 | LITE_CHECK_NON_NULL_POINTER(m_impl); |
| 143 | return m_impl->get_input_tensor(index); |
| 144 | LITE_ERROR_HANDLER_END |
| 145 | } |
| 146 | |
| 147 | std::vector<std::shared_ptr<Tensor>> Network::get_input_tensors(size_t index) { |
| 148 | LITE_ERROR_HANDLER_BEGIN |
no outgoing calls