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

Method buffer

src/runtime/OperatorTensor.cpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49uint8_t *OperatorTensor::buffer() const
50{
51 switch (_mem_type)
52 {
53 case MemoryType::CPU:
54 return (uint8_t *)utils::cast::polymorphic_downcast<MemoryRegion *>(_memory->region())->buffer();
55 default:
56 ARM_COMPUTE_ERROR("Memory type not supported.");
57 }
58}
59} // namespace experimental
60} // namespace arm_compute

Callers

nothing calls this directly

Calls 1

regionMethod · 0.45

Tested by

no test coverage detected