Skip to content
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

Move domain-specific functionality to submodules #186

Merged
merged 12 commits into from
Dec 19, 2021
Merged

Conversation

lorenzoh
Copy link
Member

@lorenzoh lorenzoh commented Dec 11, 2021

Extensive refactoring that splits up functionality by domains. Specifically:

  • computer vision functionality to FastAI.Vision
  • tabular functionality to FastAI.Tabular

Symbols from the submodules are reexported, so this does not change FastAI's exports.

As additional refactoring, this PR separates Block implementations to their own files which also include implementations of optional interfaces like showblock! or blocklossfn as well as inline tests (using InlineTest.jl). The exception are blocks that are specific to a single encoding (e.g. KeypointTensor to KeypointPreprocessing); these remain in the files of their respective encoding.

This PR theoretically makes it possible to move domain-specific functionality into their own packages. Not sure if that makes sense at this point though.

To-Dos:

  • create Vision
  • create Tabular
  • get tests to pass
  • modularize tests to mimic code structure

@lorenzoh lorenzoh merged commit ff3c162 into master Dec 19, 2021
@lorenzoh lorenzoh deleted the lorenzoh/modularize branch March 10, 2022 12:46
@lorenzoh lorenzoh mentioned this pull request Mar 17, 2022
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