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