FunctionalCompositionModule
- class FunctionalCompositionModule(*args, **kwargs)[source]
Bases:
CompositionModule
Composition by a function (i.e. state-less).
Initialize internal Module state, shared by both nn.Module and ScriptModule.
Methods Summary
forward
(a, b)Compose two batches of vectors.
Methods Documentation