MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetBuffer

Method GetBuffer

src/armnnTfLiteParser/TfLiteParser.cpp:5848–5852  ·  view source on GitHub ↗

example usage: BufferRawPtr bufferPtr = GetBuffer(m_Model, inputs[0]->buffer);

Source from the content-addressed store, hash-verified

5846
5847// example usage: BufferRawPtr bufferPtr = GetBuffer(m_Model, inputs[0]->buffer);
5848TfLiteParserImpl::BufferRawPtr TfLiteParserImpl::GetBuffer(const ModelPtr& model, size_t bufferIndex)
5849{
5850 CHECK_BUFFER(model, bufferIndex);
5851 return model->buffers[bufferIndex].get();
5852}
5853
5854template<typename T>
5855std::pair<armnn::ConstTensor, TfLiteParserImpl::SupportedDataStorage>

Callers 2

CreateCustomOptionsFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

CreateCustomOptionsFunction · 0.64