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

Method RawTensor

tests/RawTensor.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace test
29{
30RawTensor::RawTensor(TensorShape shape, Format format) : SimpleTensor(shape, format)
31{
32 _buffer = std::make_unique<uint8_t[]>(SimpleTensor::num_elements() * SimpleTensor::num_channels() *
33 SimpleTensor::element_size());
34}
35
36RawTensor::RawTensor(TensorShape shape, DataType data_type, int num_channels)
37 : SimpleTensor(shape, data_type, num_channels)

Callers

nothing calls this directly

Calls 6

shapeMethod · 0.45
data_typeMethod · 0.45
num_channelsMethod · 0.45
formatMethod · 0.45
dataMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected