--deterministic

Description

Enables or disables deterministic computing.

By default, deterministic computing is disabled. The results of multiple executions of an operator with the same hardware and input may be different. This is generally caused by asynchronous multi-thread executions during operator implementation, which changes the accumulation sequence of floating point numbers. When deterministic computing is enabled, the same output is generated if an operator is executed for multiple times with the same hardware and input. This often slows down operator execution. If the execution results of a model are different for multiple times or the model accuracy needs to be tuned, you can enable deterministic computing to assist model debugging and tuning.

See Also

None

Argument

  • 0 (default): disabled.
  • 1: enabled.

Suggestions and Benefits

None

Example

--deterministic=1

Applicability

Atlas Training Series Product

Dependencies and Restrictions

None