Combination
- class Combination(*args, **kwargs)[source]
Bases:
Module,ExtraReprMixin,ABCBase class for combinations.
Initialize internal Module state, shared by both nn.Module and ScriptModule.
Methods Summary
forward(xs)Combine a sequence of individual representations.
output_shape(input_shapes)Calculate the output shape for the given input shapes.
Methods Documentation
- abstract forward(xs: Sequence[Tensor]) Tensor[source]
Combine a sequence of individual representations.