Skip to content

↔ [Converter] Add support for Tensor slicing and selection operators in the FX aten path #1714

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

Closed
gs-olive opened this issue Mar 6, 2023 · 1 comment · Fixed by #1770
Closed
Assignees
Labels
feature request New feature or request No Activity

Comments

@gs-olive
Copy link
Collaborator

gs-olive commented Mar 6, 2023

aten.slice, aten.select, aten.expand

  • Function Schema:

    • torch.ops.aten.expand.default: ((torch.int64,), {})
    • torch.ops.aten.slice.Tensor: ((torch.float32,), {})
    • torch.ops.aten.slice.Tensor: ((torch.int32,), {})
    • torch.ops.aten.slice.Tensor: ((torch.float32,), {})
    • torch.ops.aten.slice.Tensor: ((torch.int32,), {})
    • torch.ops.aten.select.int: ((torch.float32,), {})
  • Original PyTorch API: torch.expand, torch.slice, torch.select

  • Relevant TensorRT Documentation: IGatherLayer, IShuffleLayer

Add support for slice, select, and expand as aten converters.

@github-actions
Copy link

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request No Activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants