How to define a model in PyTorch and integrate it with fastai

How to define a model in PyTorch and integrate it with fastai.

You’d use Learner. learn=Learner(data, myModel)

1 Like

Can you show me any toy example to work with??

Is there a particular one you’re wanting to use? In fastai, the cadne models are direct examples.

1 Like

A simple FFNN model