tensorflow/compiler/xla/python/transfer_guard_lib.cc
// Returns the transfer guard action for a device-to-host transfer.
// REQUIRES: Python GIL.
Returns the transfer guard action for a device-to-host transfer.
REQUIRES: Python GIL.
Returns the transfer guard action for a device - to - host transfer . REQUIRES : Python GIL .
TransferGuardAction GetTransferGuardActionForDeviceToHost() {
  return GetTransferGuardAction(
      thread_local_state.device_to_host.value_or(
          global_state.device_to_host.value_or(kDefaultGuardLevel)),
      thread_local_state.explicit_device_get);
}
TransferGuardAction GetTransferGuardActionForDeviceToHost ( ) { return GetTransferGuardAction ( thread_local_state . device_to_host . value_or ( global_state . device_to_host . value_or ( kDefaultGuardLevel ) ) , thread_local_state . explicit_device_get ) ; }
Returns the transfer guard action for a device-to-host transfer.
Returns the transfer guard action for a device - to - host transfer .