ndarange

ndarange#

Signature#

nabla.ndarange(shape: 'Shape', dtype: 'DType' = float32, device: 'Device' = Device(type=cpu,id=0), batch_dims: 'Shape' = (), traced: 'bool' = False) -> 'Array'

Description#

Create an array with values from 0 to prod(shape)-1 reshaped to given shape.