Skip to content

Conversation

sayakpaul
Copy link
Member

What does this PR do?

Asbtracts common methods like enable_slicing(), disable_slicing(), enable_tiling(), and disable_tiling() to a class AutoencoderMixin. Not all VAEs implement slicing and tiling and that has been addressed accordingly.

As a consequence, we also reduce a bit of code bloat.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants