tft_get_reboot_type

Function

This API is called by MindSpore. After a node is restarted upon faults, the training framework retrieves the restart scenario type from mindio_ttp. This API can be called only once after the process has started.

Format

mindio_ttp.framework_ttp.tft_get_reboot_type()

Parameters

None

Return Value

String

  • arf: process rescheduling
  • hot switch: sub-health hot switchover