ones_like#
- class deepinv.utils.ones_like(x)[source]#
Bases:
Returns a
deepinv.utils.TensorList
ortorch.Tensor
with the same type as x, filled with ones.
Bases:
Returns a deepinv.utils.TensorList
or torch.Tensor
with the same type as x, filled with ones.