Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HazyResearch/hgcn
/ functions
Functions
178 in github.com/HazyResearch/hgcn
⨍
Functions
178
◇
Types & classes
37
Method
__init__
(self, args)
models/base_models.py:97
Method
__new__
(cls, data, requires_grad, manifold, c)
manifolds/base.py:80
Method
__repr__
(self)
layers/att_layers.py:116
Method
__repr__
(self)
manifolds/base.py:87
Function
arsinh
(x)
utils/math_utils.py:22
Method
backward
(ctx, grad_output)
utils/math_utils.py:52
Method
backward
(ctx, grad_output)
utils/math_utils.py:66
Method
backward
(ctx, grad_output)
layers/att_layers.py:43
Method
compute_metrics
(self, embeddings, data, split)
models/base_models.py:44
Method
compute_metrics
(self, embeddings, data, split)
models/base_models.py:112
Method
decode
(self, x, adj)
models/decoders.py:65
Method
egrad2rgrad
(self, p, dp, c)
manifolds/euclidean.py:23
Method
egrad2rgrad
(self, p, dp, c)
manifolds/poincare.py:37
Method
encode
(self, x, adj)
models/encoders.py:24
Method
encode
(self, x, adj)
models/encoders.py:117
Method
encode
(self, x, adj)
models/encoders.py:181
Method
encode
(self, x, adj)
models/base_models.py:37
Method
expmap
(self, u, p, c)
manifolds/euclidean.py:35
Method
expmap
(self, u, p, c)
manifolds/poincare.py:55
Method
expmap0
(self, u, c)
manifolds/euclidean.py:41
Method
expmap0
(self, u, c)
manifolds/poincare.py:73
Method
extra_repr
(self)
layers/layers.py:53
Method
extra_repr
(self)
layers/hyp_layers.py:111
Method
extra_repr
(self)
layers/hyp_layers.py:155
Method
extra_repr
(self)
layers/hyp_layers.py:176
Method
extra_repr
(self)
models/decoders.py:69
Method
forward
(ctx, x)
utils/math_utils.py:32
Method
forward
(ctx, x)
utils/math_utils.py:46
Method
forward
(ctx, x)
utils/math_utils.py:59
Method
forward
(self, input)
layers/layers.py:42
Method
forward
(self, dist)
layers/layers.py:85
Method
forward
(self, x, adj)
layers/att_layers.py:15
Method
forward
(ctx, indices, values, shape, b)
layers/att_layers.py:35
Method
forward
(self, indices, values, shape, b)
layers/att_layers.py:56
Method
forward
(self, input, adj)
layers/att_layers.py:82
Method
forward
(self, input)
layers/att_layers.py:135
Method
forward
(self, x)
layers/hyp_layers.py:52
Method
forward
(self, input)
layers/hyp_layers.py:69
Method
forward
(self, x)
layers/hyp_layers.py:99
Method
forward
(self, x)
layers/hyp_layers.py:171
Function
func
(x)
utils/train_utils.py:54
Function
get_dim_act_curv
Helper function to get dimension and activation at every layer. :param args: :return:
layers/hyp_layers.py:13
Method
has_improved
(self, m1, m2)
models/base_models.py:50
Method
has_improved
(self, m1, m2)
models/base_models.py:134
Method
init_metric_dict
(self)
models/base_models.py:47
Method
init_metric_dict
(self)
models/base_models.py:131
Method
init_weights
(self, w, c, irange=1e-5)
manifolds/euclidean.py:54
Method
init_weights
(self, w, c, irange=1e-5)
manifolds/poincare.py:104
Method
inner
(self, p, c, u, v=None, keepdim=False)
manifolds/euclidean.py:58
Method
inner
(self, x, c, u, v=None, keepdim=False)
manifolds/poincare.py:120
Method
logmap
(self, p1, p2, c)
manifolds/euclidean.py:38
Method
logmap
(self, p1, p2, c)
manifolds/poincare.py:66
Method
logmap0
(self, p, c)
manifolds/euclidean.py:44
Method
logmap0
(self, p, c)
manifolds/poincare.py:79
Method
mobius_add
(self, x, y, c, dim=-1)
manifolds/euclidean.py:47
Method
mobius_add
(self, x, y, c)
manifolds/hyperboloid.py:115
Method
mobius_matvec
(self, m, x, c)
manifolds/euclidean.py:50
Method
mobius_matvec
(self, m, x, c)
manifolds/hyperboloid.py:120
Method
mobius_matvec
(self, m, x, c)
manifolds/poincare.py:93
Method
proj
(self, p, c)
manifolds/euclidean.py:26
Method
proj
(self, x, c)
manifolds/poincare.py:42
Method
proj_tan
(self, u, p, c)
manifolds/euclidean.py:29
Method
proj_tan
(self, u, p, c)
manifolds/poincare.py:49
Method
proj_tan0
(self, u, c)
manifolds/euclidean.py:32
Method
proj_tan0
(self, u, c)
manifolds/hyperboloid.py:64
Method
proj_tan0
(self, u, c)
manifolds/poincare.py:52
Method
ptransp
(self, x, y, v, c)
manifolds/euclidean.py:63
Method
ptransp
(self, x, y, u, c)
manifolds/hyperboloid.py:125
Method
ptransp
(self, x, y, u, c)
manifolds/poincare.py:126
Method
ptransp0
(self, x, v, c)
manifolds/euclidean.py:66
Method
ptransp0
Parallel transport of u from the origin to y.
manifolds/base.py:71
Method
ptransp0
(self, x, u, c)
manifolds/poincare.py:136
Method
ptransp_
(self, x, y, u, c)
manifolds/poincare.py:131
Method
sqdist
(self, p1, p2, c)
manifolds/euclidean.py:20
Method
sqdist
(self, p1, p2, c)
manifolds/poincare.py:25
Method
stabilize
Stabilize parameters if they are off-manifold due to numerical reasons
optimizers/radam.py:17
Method
to_hyperboloid
(self, x, c)
manifolds/poincare.py:140
Method
to_poincare
(self, x, c)
manifolds/hyperboloid.py:148
← previous
101–178 of 178, ranked by callers