def METHOD_NAME(name, values):
    value_array = np.array(values).astype(float)
    return onnx.helper.make_node(
        "Constant",
        inputs=[],
        outputs=[name],
        value=onnx.helper.make_tensor(
            name=name,
            data_type=onnx.TensorProto.FLOAT,
            dims=value_array.shape,
            vals=value_array.flatten(),
        ),
    )