Skip to content

feat: add UpsampleNearest2d base#516

Draft
voltjia wants to merge 1 commit intofeat/torch-codegenfrom
codex/add-upsample_nearest2d-base
Draft

feat: add UpsampleNearest2d base#516
voltjia wants to merge 1 commit intofeat/torch-codegenfrom
codex/add-upsample_nearest2d-base

Conversation

@voltjia
Copy link
Copy Markdown
Collaborator

@voltjia voltjia commented May 5, 2026

Adds the hand-written InfiniOps base class for upsample_nearest2d so the torch code generator can reuse src/base/upsample_nearest2d.h instead of emitting generated/base/upsample_nearest2d.h.

Validation:

  • generated this branch from generated/base/upsample_nearest2d.h on feat/torch-codegen
  • branch diff against feat/torch-codegen contains only src/base/upsample_nearest2d.h
  • clang-format 21 passed on src/base/upsample_nearest2d.h

@voltjia voltjia force-pushed the codex/add-upsample_nearest2d-base branch from 43bc15a to 7c7a1d7 Compare May 5, 2026 22:27
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

Successfully merging this pull request may close these issues.

1 participant