--atomic_clean_policy

Description

Collectively cleans up the memory occupied by all operators with the memset attribute (memset operators) on the network.

See Also

None

Argument

  • 0 (default): enabled.
  • 1: disabled. Memory used by each memset operator is cleaned up separately. When the memset operators on the network occupy too much memory, you are advised to use this mode to reduce the memory usage. However, this may cause performance loss.

Suggestions and Benefits

None

Example

Clean up the memory occupied by memset operators separately. The following is an example:

--atomic_clean_policy=1

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Restrictions

None