| 128 | } |
| 129 | |
| 130 | std::vector<std::shared_ptr<Tensor>> Network::get_discrete_tensors( |
| 131 | std::string name, LiteTensorPhase phase) { |
| 132 | LITE_ERROR_HANDLER_BEGIN |
| 133 | LITE_ASSERT(m_loaded, "get_io_tensor should be used after model loaded."); |
| 134 | LITE_CHECK_NON_NULL_POINTER(m_impl); |
| 135 | return m_impl->get_discrete_tensors(name, phase); |
| 136 | LITE_ERROR_HANDLER_END |
| 137 | } |
| 138 | |
| 139 | std::shared_ptr<Tensor> Network::get_input_tensor(size_t index) { |
| 140 | LITE_ERROR_HANDLER_BEGIN |
no outgoing calls