Fair to say that the de facto 'standard' is to create a Module child, rather than using nn.Sequential?

Looking at examples, it looks like it is fairly standard to create a child of Module, and thereby be able to use Functional etc?

  • is it fair to say that this is the preferred approach, rather than using eg nn.Sequential?
  • is there any way of adding nn.Functional methods into Sequential? Or best to create a Module child, in order to use nn.Functional?
1 Like

I imagine that another reason to use the Module child approach is to use simple tensor transformations, like transposition/concatenation/stack etc

Alright. Thanks! :slight_smile: