Return an array of the given shape and dtype filled with infs.
shape : tuple
Array shape.
dtype : data-type
Data type for the array.
allocator : callable
Returns an object that represents the memory allocated for the requested array.
out : pycuda.gpuarray.GPUArray
Array of infs with the given shape and dtype.