harmony 鸿蒙OH_NN_Memory

2025-06-12 浏览 (1)

OH_NN_Memory

Overview

Defines the memory structure.

Since: 9

Deprecated: This module is deprecated since API version 11.

Substitute: You are advised to use NN_Tensor.

Related module: NeuralNeworkRuntime

Header file: neural_network_runtime_type.h

Summary

Member Variables

NameDescription
void *const dataPointer to the shared memory. The shared memory is usually applied for by the underlying hardware driver.
const size_t lengthLength 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 applied for by the underlying hardware driver.

length

const size_t OH_NN_Memory::length

Description

Length of the shared memory, in bytes.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Neural Network Runtime Kit

harmony 鸿蒙_neural_network_runtime

harmony 鸿蒙OH_NN_QuantParam

harmony 鸿蒙OH_NN_Tensor

harmony 鸿蒙OH_NN_UInt32Array

harmony 鸿蒙neural_network_core.h

harmony 鸿蒙neural_network_runtime.h

harmony 鸿蒙neural_network_runtime_type.h

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/Iny2xv