get_transaction_id

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 transaction ID in FlowMsg. The transaction ID starts from 1, and is incremented by 1 each time a batch of data is fed. This function can be used to identify the ID of the data batch.

Prototype

1
get_transaction_id(self) -> int

Parameters

None

Returns

Transaction ID

Exception Handling

None

Constraints

None