rand_like#
- class deepinv.utils.rand_like(x)[source]#
Bases:
Returns a
deepinv.utils.TensorList
ortorch.Tensor
with the same type as x, filled with random uniform numbers in [0,1].
Bases:
Returns a deepinv.utils.TensorList
or torch.Tensor
with the same type as x, filled with random uniform numbers in [0,1].