GetRawData

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

Obtains the pointer to and size of data of the RawData type.

Prototype

1
virtual Status GetRawData(void *&dataPtr, uint64_t &dataSize) const

Parameters

Parameter

Input/Output

Description

dataPtr

Output

Pointer to RawData.

dataSize

Output

Data size of RawData.

Returns

  • 0: success
  • Other values: failure. For details, see the error code.

Exception Handling

For non-RawData, FLOW_FUNC_FAILED is reported.

Constraints

None