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