OH_NN_Memory

Overview

Defines the memory structure.

Since: 9

Related Modules:

NeuralNeworkRuntime

Summary

Member Variables

Name Description
data Pointer to the shared memory. The shared memory is usually allocated by the underlying hardware driver.
length Records the length of the shared memory, in bytes.

Member Variable Description

data

void* const OH_NN_Memory::data

Description
Pointer to the shared memory. The shared memory is usually allocated by the underlying hardware driver.

length

const size_t OH_NN_Memory::length

Description
Records the length of the shared memory, in bytes.