From https://github.com/microsoft/onnxscript/pull/558/, the comments: https://github.com/microsoft/onnxscript/blob/51ecf47523ef079c53b0e620c62d56d70cfd3871/onnxscript/function_libs/torch_lib/ops/core.py#L7889-L7892 are not implemented, which results in errors when None is unsqueezed later in the code.