Interpolation refactoring
This is among other small things a refactoring of the interpolation
- Make textures less special (now subclasses of interpolator)
- Remove
TextureCache
- (Ab-) use finite differences to enable spatial derivatives of interpolators
- enable code to use https://github.com/theHamsta/CubicInterpolationCUDA (not included into pystencils, not even as a submodule)
I can use it to transform Lenna and get gradients with Torch wrt. to image content, x-translation, y-translation
Merge request reports
Activity
added 1 commit
- ced9b363 - Add _latex representation for InterpolatorAccess
added 1 commit
- 68777af3 - Let's not fake that we test gpu execution here
added 1 commit
- 85542671 - Improve implementation of Interpolator, TextureCachedField and add __eq__ for TextureDeclaration
added 45 commits
-
5c5cc012...46b7b88d - 15 commits from branch
pycodegen:master
- 6af6b93f - Add InterpolatorAccess.__getnewargs__
- 07c87bc7 - Lint
- ee9587df - Allow differentation of InterpolatorAccess
- dd6b920e - Attempt to implement printing of DiffInterpolatorAccess
- ca17e888 - Re-add code for CubicInterpolationCUDA
- c6648fbb - Add DiffInterpolatorAccess.__repr__
- 06afa33d - use hashlib instead of hash for Interpolator
- 58985c02 - Add AssignmentCollection.atoms
- 1673ca3d - Remove test for unsupported feature
- 4c24729a - Enable Diff wrt to itself
- be54b20e - Express sorting shorter
- 479cc5ad - Refactor interpolation
- 2e85d1d1 - Remove TextureAccess
- a3f92cb4 - Implement interpolation as an optimization
- 7777156a - Add fd.Diff.interpolated_access
- 39fed6f8 - Add to docstring to fd.Diff.interpolated_access
- 477785f5 - Allow kwargs in fd.Diff.interpolated_access
- 064147b6 - Hash also interpolation_mode for InterpolatorAccess
- 6be6ba63 - Making cool stuff with interpolators
- 6acfc72a - Fix failing interpolation tests on newer sympy versions
- f645c192 - Remove unused import in `test_opencl`
- 995cc9ef - Big fat interpolation mode refactoring
- aa15fba9 - Add print statements to expm1-optimization test
- d03c3eea - Avoid re-initialization opencl context in test
- 1177d9a3 - Make assert error message more helpful
- 63bab1b2 - Add _latex representation for InterpolatorAccess
- 24f52f21 - Let's not fake that we test gpu execution here
- cd772ba1 - Improve implementation of Interpolator, TextureCachedField and add __eq__ for TextureDeclaration
- 8722a2b8 - Remove comment
- fa782b82 - Make problems in textures hard errors
Toggle commit list-
5c5cc012...46b7b88d - 15 commits from branch
added 1 commit
- b20974fe - interpolation: Stuff is working let's commit quickly
mentioned in commit 1cabb407
Please register or sign in to reply