Ones# API# warp_nn.initializers.ones( array: array, *, inplace: bool = True, ) → array[source]# Initialize the array with ones. Parameters: array – The array to initialize. inplace – Whether to fill the array in place. Returns: The initialized array.