Rate this Page

torch.mtia.initial_seed#

torch.mtia.initial_seed()[source]#

Returns the current random seed of the current MTIA device.

Warning

This function eagerly initializes MTIA.

Return type:

int