ones#

rbc.stdlib.creation_functions.ones(shape, dtype=None)#

Return a new array of given shape and type, filled with ones.

Array-API ‘ones’ doc