ones_likeΒΆ
Returns a new array filled with ones and having the same shape as an input array x.
Abstract Signature:
ones_like(x: array, dtype: Optional[dtype], device: Optional[device])
Returns a new array filled with ones and having the same shape as an input array x.
Abstract Signature:
ones_like(x: array, dtype: Optional[dtype], device: Optional[device])