34 public jevois::Parameter<network::dataroot, network::model>
44 void freeze(
bool doit)
override;
47 virtual std::vector<vsi_nn_tensor_attr_t>
inputShapes()
override;
50 virtual std::vector<vsi_nn_tensor_attr_t>
outputShapes()
override;
57 std::vector<cv::Mat>
doprocess(std::vector<cv::Mat>
const & blobs,
58 std::vector<std::string> & info)
override;
61 std::shared_ptr<Ort::Session> itsSession;
63 Ort::SessionOptions itsSessionOptions;
64 std::vector<vsi_nn_tensor_attr_t> itsInAttrs;
65 std::vector<vsi_nn_tensor_attr_t> itsOutAttrs;
67 std::vector<Ort::AllocatedStringPtr> itsInNamePtrs;
68 std::vector<char const *> itsInNames;
69 std::vector<Ort::AllocatedStringPtr> itsOutNamePtrs;
70 std::vector<char const *> itsOutNames;
72 std::vector<Ort::Value> itsOutputs;