Skip to content

[Operator] Add conv3d, max_pool3d, avg_pool3d#79

Merged
hjjq merged 6 commits intohidet-org:mainfrom
hjjq:conv3d
Jan 27, 2023
Merged

[Operator] Add conv3d, max_pool3d, avg_pool3d#79
hjjq merged 6 commits intohidet-org:mainfrom
hjjq:conv3d

Conversation

@hjjq
Copy link
Copy Markdown
Collaborator

@hjjq hjjq commented Jan 26, 2023

No description provided.

@hjjq hjjq added the enhancement New feature or request label Jan 26, 2023
@yaoyaoding
Copy link
Copy Markdown
Member

Hi @hjjq, thanks for the quick PR. I prefer to making a general version convolution operator that support arbitrary number of spatial dimensions n (n >= 1) and subclass them to get the 1d, 2d, and 3d versions of tasks. This would avoid most of the repeatition.

I will let you to decide:

  1. merge this PR and later refactor existing 2d and 3d convs in above way.
  2. or directly implement the general version.

@hjjq
Copy link
Copy Markdown
Collaborator Author

hjjq commented Jan 27, 2023

Thanks Yaoyao, I will merge and refactor later.

@hjjq hjjq merged commit e731836 into hidet-org:main Jan 27, 2023
KTong821 pushed a commit to KTong821/hidet that referenced this pull request Apr 24, 2024
Instead of mocking a ctypes type like `c_pointer_compatible`, these changes
make the transformation from Python values <> ctypes values more explicit
with direct function calls inside of `CompiledFunction`.
vadiklyutiy pushed a commit that referenced this pull request Jul 22, 2024
Instead of mocking a ctypes type like `c_pointer_compatible`, these changes
make the transformation from Python values <> ctypes values more explicit
with direct function calls inside of `CompiledFunction`.
vadiklyutiy pushed a commit that referenced this pull request Jul 23, 2024
Instead of mocking a ctypes type like `c_pointer_compatible`, these changes
make the transformation from Python values <> ctypes values more explicit
with direct function calls inside of `CompiledFunction`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants