MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / get_const_tensor

Method get_const_tensor

src/core/ITensorPack.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53const ITensor *ITensorPack::get_const_tensor(int id) const
54{
55 auto it = _pack.find(id);
56 if (it != _pack.end())
57 {
58 return it->second.ctensor != nullptr ? it->second.ctensor : it->second.tensor;
59 }
60 return nullptr;
61}
62
63ITensor *ITensorPack::get_tensor(int id)
64{

Callers 15

runMethod · 0.80
runMethod · 0.80
prepareMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
prepareMethod · 0.80
runMethod · 0.80
prepareMethod · 0.80
runMethod · 0.80
prepareMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected