Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Graph-and-Geometric-Learning/hyperbolic-transformer
/ types & classes
Types & classes
92 in github.com/Graph-and-Geometric-Learning/hyperbolic-transformer
⨍
Functions
650
◇
Types & classes
92
↓ 16 callers
Class
NCDataset
large/dataset.py:28
↓ 8 callers
Class
NCDataset
medium/dataset.py:21
↓ 7 callers
Class
HypLinear
Hyperbolic Linear Layer Parameters: manifold (Manifold): The manifold to use for the linear transformation. in_features (int
large/manifolds/layer.py:124
↓ 7 callers
Class
HypLinear
Parameters: manifold (manifold): The manifold to use for the linear transformation. in_features (int): The size of each input sam
medium/manifolds/hyp_layer.py:88
↓ 7 callers
Class
HypLinear
Hyperbolic Linear Layer Parameters: manifold (Manifold): The manifold to use for the linear transformation. in_features (int
Hypformer/manifolds/layer.py:124
↓ 3 callers
Class
Lorentz
large/manifolds/lorentz.py:9
↓ 3 callers
Class
Lorentz
medium/manifolds/lorentz.py:10
↓ 3 callers
Class
Lorentz
Hypformer/manifolds/lorentz.py:13
↓ 3 callers
Class
MixHopLayer
Our MixHop layer
large/gnns.py:365
↓ 3 callers
Class
MixHopLayer
Our MixHop layer
medium/gnns.py:373
↓ 2 callers
Class
HypLayerNorm
Hyperbolic Layer Normalization Layer Parameters: manifold (Manifold): The manifold to use for normalization. in_features (in
large/manifolds/layer.py:10
↓ 2 callers
Class
HypLayerNorm
medium/manifolds/hyp_layer.py:11
↓ 2 callers
Class
HypLayerNorm
Hyperbolic Layer Normalization Layer Parameters: manifold (Manifold): The manifold to use for normalization. in_features (in
Hypformer/manifolds/layer.py:10
↓ 2 callers
Class
Logger
Adapted from https://github.com/snap-stanford/ogb/
large/logger.py:12
↓ 2 callers
Class
Optimizer
Optimizer for Euclidean and Hyperbolic parameters Parameters: model (nn.Module): The model containing the parameters to optimize.
large/manifolds/layer.py:212
↓ 1 callers
Class
Args
Hypformer/main.py:23
↓ 1 callers
Class
GPR_prop
GPRGNN, from original repo https://github.com/jianhao2016/GPRGNN propagation class for GPR_GNN
large/gnns.py:588
↓ 1 callers
Class
GPR_prop
GPRGNN, from original repo https://github.com/jianhao2016/GPRGNN propagation class for GPR_GNN
medium/gnns.py:600
↓ 1 callers
Class
GraphConv
large/gnns.py:726
↓ 1 callers
Class
GraphConv
medium/gnns.py:739
↓ 1 callers
Class
GraphConvLayer
large/gnns.py:691
↓ 1 callers
Class
GraphConvLayer
medium/gnns.py:705
↓ 1 callers
Class
HypActivation
Hyperbolic Activation Layer Parameters: manifold (Manifold): The manifold to use for the activation. activation (function):
large/manifolds/layer.py:69
↓ 1 callers
Class
HypActivation
medium/manifolds/hyp_layer.py:51
↓ 1 callers
Class
HypActivation
Hyperbolic Activation Layer Parameters: manifold (Manifold): The manifold to use for the activation. activation (function):
Hypformer/manifolds/layer.py:69
↓ 1 callers
Class
HypCLS
large/manifolds/layer.py:168
↓ 1 callers
Class
HypCLS
medium/manifolds/hyp_layer.py:127
↓ 1 callers
Class
HypCLS
Hypformer/manifolds/layer.py:168
↓ 1 callers
Class
HypDropout
Hyperbolic Dropout Layer Parameters: manifold (Manifold): The manifold to use for the dropout. dropout (float): The dropout
large/manifolds/layer.py:96
↓ 1 callers
Class
HypDropout
medium/manifolds/hyp_layer.py:69
↓ 1 callers
Class
HypDropout
Hyperbolic Dropout Layer Parameters: manifold (Manifold): The manifold to use for the dropout. dropout (float): The dropout
Hypformer/manifolds/layer.py:96
↓ 1 callers
Class
HypFormer
large/hypformer.py:267
↓ 1 callers
Class
HypFormer
medium/hypformer.py:276
↓ 1 callers
Class
HypFormer
Hypformer/hypformer.py:240
↓ 1 callers
Class
Logger
medium/logger.py:5
↓ 1 callers
Class
Optimizer
medium/manifolds/hyp_layer.py:162
↓ 1 callers
Class
TransConv
large/hypformer.py:179
↓ 1 callers
Class
TransConv
medium/hypformer.py:175
↓ 1 callers
Class
TransConv
Hypformer/hypformer.py:153
↓ 1 callers
Class
TransConvLayer
large/hypformer.py:15
↓ 1 callers
Class
TransConvLayer
medium/hypformer.py:14
↓ 1 callers
Class
TransConvLayer
Hypformer/hypformer.py:12
Class
APPNP_Net
large/gnns.py:568
Class
APPNP_Net
medium/gnns.py:579
Class
Acosh
Numerically stable arccosh that never returns NaNs. Returns acosh(x) = arccosh(x) = log(x + sqrt(max(x^2 - 1, eps))).
large/manifolds/utils.py:271
Class
Acosh
Numerically stable arccosh that never returns NaNs. Returns acosh(x) = arccosh(x) = log(x + sqrt(max(x^2 - 1, eps))).
medium/manifolds/manifold_utils.py:272
Class
Acosh
Numerically stable arccosh that never returns NaNs. Returns acosh(x) = arccosh(x) = log(x + sqrt(max(x^2 - 1, eps))).
Hypformer/manifolds/utils.py:271
Class
Atanh
Numerically stable arctanh that never returns NaNs. x = clamp(x, min=-1+eps, max=1-eps) Returns atanh(x) = arctanh(x) = 0.5*(log(1+x)-log
large/manifolds/utils.py:241
Class
Atanh
Numerically stable arctanh that never returns NaNs. x = clamp(x, min=-1+eps, max=1-eps) Returns atanh(x) = arctanh(x) = 0.5*(log(1+x)-log
medium/manifolds/manifold_utils.py:242
Class
Atanh
Numerically stable arctanh that never returns NaNs. x = clamp(x, min=-1+eps, max=1-eps) Returns atanh(x) = arctanh(x) = 0.5*(log(1+x)-log
Hypformer/manifolds/utils.py:241
Class
GAT
large/gnns.py:272
Class
GAT
medium/gnns.py:279
Class
GATJK
large/gnns.py:501
Class
GATJK
medium/gnns.py:513
Class
GCN
large/gnns.py:177
Class
GCN
medium/gnns.py:182
Class
GCNJK
large/gnns.py:452
Class
GCNJK
medium/gnns.py:463
Class
GPRGNN
GPRGNN, from original repo https://github.com/jianhao2016/GPRGNN
large/gnns.py:654
Class
GPRGNN
GPRGNN, from original repo https://github.com/jianhao2016/GPRGNN
medium/gnns.py:666
Class
H2GCNConv
Neighborhood aggregation step
large/gnns.py:554
Class
H2GCNConv
Neighborhood aggregation step
medium/gnns.py:564
Class
HypActivation
Hypformer/manifolds/hyp_layer.py:51
Class
HypCLS
Hypformer/manifolds/hyp_layer.py:121
Class
HypDropout
Hypformer/manifolds/hyp_layer.py:67
Class
HypLayerNorm
Hypformer/manifolds/hyp_layer.py:14
Class
HypLinear
Parameters: manifold (manifold): The manifold to use for the linear transformation. in_features (int): The size of each input sam
Hypformer/manifolds/hyp_layer.py:84
Class
HypNormalization
Hyperbolic Normalization Layer Parameters: manifold (Manifold): The manifold to use for normalization. manifold_out (Manifol
large/manifolds/layer.py:44
Class
HypNormalization
medium/manifolds/hyp_layer.py:34
Class
HypNormalization
Hypformer/manifolds/hyp_layer.py:36
Class
HypNormalization
Hyperbolic Normalization Layer Parameters: manifold (Manifold): The manifold to use for normalization. manifold_out (Manifol
Hypformer/manifolds/layer.py:44
Class
LINK
logistic regression on adjacency matrix
large/gnns.py:12
Class
LINK
logistic regression on adjacency matrix
medium/gnns.py:15
Class
LeakyClamp
large/manifolds/utils.py:222
Class
LeakyClamp
medium/manifolds/manifold_utils.py:223
Class
LeakyClamp
Hypformer/manifolds/utils.py:222
Class
MLP
adapted from https://github.com/CUAI/CorrectAndSmooth/blob/master/gen_models.py
large/gnns.py:33
Class
MLP
adapted from https://github.com/CUAI/CorrectAndSmooth/blob/master/gen_models.py
medium/gnns.py:36
Class
MixHop
our implementation of MixHop some assumptions: the powers of the adjacency are [0, 1, ..., hops], with every power in between each co
large/gnns.py:389
Class
MixHop
our implementation of MixHop some assumptions: the powers of the adjacency are [0, 1, ..., hops], with every power in between each co
medium/gnns.py:399
Class
MultiLP
label propagation, with possibly multiple hops of the adjacency
large/gnns.py:312
Class
MultiLP
label propagation, with possibly multiple hops of the adjacency
medium/gnns.py:320
Class
Optimizer
Hypformer/manifolds/hyp_layer.py:154
Class
Optimizer
Optimizer for Euclidean and Hyperbolic parameters Parameters: model (nn.Module): The model containing the parameters to optimize.
Hypformer/manifolds/layer.py:212
Class
SGC
large/gnns.py:68
Class
SGC
medium/gnns.py:73
Class
SGC2
Use MLP instead of a single linear layer.
large/gnns.py:127
Class
SGC2
Use MLP instead of a single linear layer.
medium/gnns.py:132
Class
SGCMem
large/gnns.py:82
Class
SGCMem
medium/gnns.py:87
Class
SIGN
large/gnns.py:222
Class
SIGN
medium/gnns.py:228