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

Method get

tests/AssetsLibrary.cpp:476–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476RawTensor AssetsLibrary::get(const std::string &name)
477{
478 //FIXME: Format should be derived from the image name. Not be fixed to RGB.
479 return RawTensor(find_or_create_raw_tensor(name, Format::RGB888));
480}
481
482RawTensor AssetsLibrary::get(const std::string &name, DataType data_type, int num_channels) const
483{

Callers 15

SimpleTensorMethod · 0.45
dataMethod · 0.45
operator()Method · 0.45
RawTensorMethod · 0.45
operator()Method · 0.45
mainFunction · 0.45
get_ctx<Tensor>Method · 0.45
get_ctx<CLTensor>Method · 0.45
create_printersMethod · 0.45
test_startMethod · 0.45
intercept_schedulerMethod · 0.45
do_setupMethod · 0.45

Calls 3

get_format_for_channelFunction · 0.85
RawTensorClass · 0.70
shapeMethod · 0.45

Tested by 1

test_startMethod · 0.36