scSLAT.model.graphmodel.LGCN

class scSLAT.model.graphmodel.LGCN(K=8)[source]

Bases: Module

Lightweight GCN which remove nonlinear functions and concatenate the embeddings of each layer:

(\(Z = f_{e}(A, X) = Concat( [X, A_{X}, A_{2X}, ..., A_{KX}])W_{e}\))

Parameters:

K (typing.Optional[int]) – layers of LGCN

Methods

forward

Define the computation performed at every call.

Attributes