Skip to content

mention torch stub version in doc #3322

Description

@asukaminato0721

Describe the Bug

invalid-syntax: Cannot set default type for a type parameter on Python 3.12 (syntax was added in Python 3.13)
   --> .pyrefly-stubs/tensor_shapes/fixtures/torch/nn/__init__.pyi:468:30
    |
466 | # ==============================================================================
467 |
468 | class Conv1d[InC, OutC, K, S = 1, P = 0, D = 1](Module):
    |                              ^^^
469 |     """1D convolution. Tracks channel and spatial dimensions.
    |

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtensor-shapesAnything related to tensor shape typing

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions