xnn.gnn.fast.linear.EquivariantLinear#
- class xnn.gnn.fast.linear.EquivariantLinear(*args, **kwargs)[source]#
Bases:
Linear,FastPathModulee3nn.o3.Linear(same arguments, parameters andstate_dict) with a fast path.The fast path applies to shared weights without biases on inputs of shape
(n, irreps_in.dim): one matrix product per output irrep block on the input split once, in place of e3nn’s slices of the input whose backward fills a zero gradient of the full width per block.