MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / ~Model

Method ~Model

dnnlibrary/Model.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Model::~Model() {
41 munmap(data_, data_size_);
42 nnapi_->ANeuralNetworksModel_free(model_);
43 nnapi_->ANeuralNetworksCompilation_free(compilation_);
44 nnapi_->ANeuralNetworksMemory_free(memory_);
45}
46
47void Model::SetInputBuffer(const int32_t index, const float *buffer) {
48 SetInputBuffer(index, buffer, 4);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected