nujo/init/basic.py
def ones(*shape: int, diff=False, name='Tensor[ones]') -> Tensor:
    ''' Return a new Tensor of given shape, filled with ones.
    '''

    return full(*shape, fill_value=1, diff=diff, name=name)
 Return a new Tensor of given shape, filled with ones.
    
Return a new Tensor of given shape, filled with ones.
Return a new Tensor of given shape filled with ones .
def ones(*shape: int, diff=False, name='Tensor[ones]') -> Tensor:
    return full(*shape, fill_value=1, diff=diff, name=name)
def ones ( * shape : int , diff = False , name = 'Tensor[ones]' ) -> Tensor : return full ( * shape , fill_value = 1 , diff = diff , name = name )
Return a new Tensor of given shape, filled with ones.
Return a new Tensor of given shape filled with ones .
''' Return a new Tensor of given shape, filled with ones.
    '''
shape
int
diff
name