Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensor typing annotations #217

Closed
justinchuby opened this issue Nov 29, 2022 · 1 comment
Closed

Tensor typing annotations #217

justinchuby opened this issue Nov 29, 2022 · 1 comment

Comments

@justinchuby
Copy link
Contributor

justinchuby commented Nov 29, 2022

  1. Generics

    • torch
      • alpha_dropout(Tensor(a!) input, float p, bool train) -> Tensor(a!)
    • onnxscript
      • def alpha_dropout(input: TensorType[T, ...], p: float, train: bool) -> TensorType[T, ...]
  2. Dims

    • torch
      • reflection_pad3d(Tensor self, SymInt[6] padding) -> Tensor
    • onnxscript
      • def reflection_pad3d(self: TensorType[Any, ...], padding: TensorType[INT64, [6]]) -> TensorType[Any, ...]
@justinchuby
Copy link
Contributor Author

Duplicate of #311

@justinchuby justinchuby marked this as a duplicate of #311 Sep 12, 2023
@justinchuby justinchuby closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant