https://onnx.ai/onnx/operators/onnx__ConstantOfShape.html#attributes states that ConstantOfShape takes a single element value, but ORT seems to require that the value to be 1d.