JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
Share this page: |
|
|
|
|
|
|
Go to the documentation of this file.
27 class NetworkPythonImpl;
41 void freeze(
bool doit)
override;
44 std::vector<vsi_nn_tensor_attr_t>
inputShapes()
override;
47 std::vector<vsi_nn_tensor_attr_t>
outputShapes()
override;
53 std::vector<cv::Mat>
doprocess(std::vector<cv::Mat>
const & blobs,
54 std::vector<std::string> & info)
override;
58 void onParamChange(network::pynet
const & param, std::string
const & newval)
override;
63 std::shared_ptr<NetworkPythonImpl>
itsImpl;
std::vector< vsi_nn_tensor_attr_t > outputShapes() override
Get shapes of all output tensors.
std::vector< cv::Mat > doprocess(std::vector< cv::Mat > const &blobs, std::vector< std::string > &info) override
Process input blobs and obtain output blobs.
std::vector< vsi_nn_tensor_attr_t > inputShapes() override
Get shapes of all input tensors.
virtual ~NetworkPython()
Destructor.
void freeze(bool doit) override
Freeze/unfreeze parameters that users should not change while running.
void onParamChange(network::pynet const ¶m, std::string const &newval) override
std::shared_ptr< NetworkPythonImpl > itsImpl
NetworkPython(std::string const &instance)
Constructor.
Wrapper around an DNN neural network invoked through python.
void load() override
Load from disk.
Abstract class to represent a neural network.