torch_geometric.nn.conv.FastFiLMConv
- class FastFiLMConv(in_channels: Union[int, Tuple[int, int]], out_channels: int, num_relations: int = 1, nn: Optional[Callable] = None, act: Optional[Callable] = ReLU(), aggr: str = 'mean', is_sorted: bool = False, **kwargs)[source]
Bases:
MessagePassingSee
FiLMConv. Main difference is parrallelizing linear layers at the cost of more memory usage. For optimal performance, edge_index should be sorted by edge_type.