- class popxl.Module
Callable class that user-defined layers can inherit from.
buildmethod should be overridden with a function to build the subgraph.
The benefit of inheriting from this class rather than passing a function is that you can save input tensors as fields on
selfthen later, when you call the subgraph, you can pass a mapping from the input tensor IDs to the corresponding parent tensor you wish to pass.