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

Guides for block level customization #183

Open
yl4070 opened this issue Nov 8, 2021 · 1 comment
Open

Guides for block level customization #183

yl4070 opened this issue Nov 8, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@yl4070
Copy link

yl4070 commented Nov 8, 2021

Hi,
Currently, the customization tutorial is based on low level API, it would be nice to have a similar guides but based on block level interface, covering materials such as how to write customized blocks for different use cases, and what functions need to be implemented for the new block to work properly. It appears to be a big jump from using existing blocks to customize everything.

Personally, I'm struggling to figure out how to make new blocks work properly by looking at the source code, so I'm really looking forward to such guides.

@lorenzoh lorenzoh added the documentation Improvements or additions to documentation label Nov 11, 2021
@lorenzoh
Copy link
Member

Yeah, documentation for that hasn't been written yet. If you want to implement new Encodings for existing blocks, for now the best resource is the docstring for Encoding. You can also look at and use FastAI.testencoding as a reference for the encoding being implemented properly. If you have any specific questions or stumbling blocks, feel free to ask, though!

I'll leave this open and give an update once a proper guide is in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants