[36b44b]: / doc / source / api / layers.rst

Download this file

338 lines (239 with data), 5.2 kB

torchdrug.layers

Common Layers

GaussianSmearing

MultiLayerPerceptron

MutualInformation

SinusoidalPositionEmbedding

PairNorm

Sequential

Convolution Layers

ChebyshevConv

ContinuousFilterConv

GeometricRelationalGraphConv

GraphAttentionConv

GraphConv

GraphIsomorphismConv

MessagePassing

NeuralFingerprintConv

RelationalGraphConv

Readout Layers

MeanReadout

SumReadout

MaxReadout

Set2Set

Softmax

Sort

Pooling Layers

DiffPool

MinCutPool

Sampler Layers

EdgeSampler

NodeSampler

Flow Layers

ConditionalFlow

Sequence Encoder Blocks

ProteinResNetBlock

SelfAttentionBlock

ProteinBERTBlock

Distribution Layers

These layers belong to torchdrug.layers.distribution.

IndependentGaussian

Graph Construction Layers

These layers belong to torchdrug.layers.geometry.

GraphConstruction

SpatialLineGraph

BondEdge

KNNEdge

SpatialEdge

SequentialEdge

AlphaCarbonNode

IdentityNode

RandomEdgeMask

SubsequenceNode

SubspaceNode

Functional Layers

These layers belong to torchdrug.layers.functional.

Embedding Score Functions

Sparse Matrix Multiplication

Variadic

Tensor Reduction

Tensor Construction

Sampling

Activation