rml_access_mode

Usage

Tensor access mode.

The access mode indicates abilities to access tensor contents on a CPU.

API

Main

Possible Values

Name

Value

Brief Explanation

RML_ACCESS_MODE_UNSPECIFIED

0

Unspecified access mode.

RML_ACCESS_MODE_READ_ONLY

300

Allow reading from a tensor.

RML_ACCESS_MODE_READ_WRITE

310

Allow reading from and writing to a tensor.

RML_ACCESS_MODE_WRITE_ONLY

320

Allow writing from a tensor.

RML_ACCESS_MODE_DEVICE_ONLY

330

No reading from and writing to a tensor.