imate.Matrix.initialize#

Matrix.initialize(gpu, num_gpu_devices)#

Initializes the object.

Parameters:
gpubool

If True, the matrix array will be initialized on GPU devices.

num_gpu_devicesint

The number of GPU devices to use. If 0, it uses the maximum number of available GPU devices.