17#ifndef __CIRCLE_RESIZER_CIRCLE_MODEL_H__
18#define __CIRCLE_RESIZER_CIRCLE_MODEL_H__
46 explicit CircleModel(
const std::vector<uint8_t> &buffer);
54 explicit CircleModel(
const std::string &model_path);
84 void save(std::ostream &stream);
92 void save(
const std::string &output_path);
95 std::unique_ptr<luci::Module> _module;
luci::Module * module()
Get the loaded model in luci::Module representation.
std::vector< Shape > input_shapes() const
Get input shapes of the loaded model.
~CircleModel()
Dtor of CircleModel. Note that explicit declaration is needed to satisfy forward declaration + unique...
std::vector< Shape > output_shapes() const
Get output shapes of the loaded model.
void save(std::ostream &stream)
Save the model to the output stream.
Collection of 'loco::Graph's.