Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TinyZeaMays/CircleLoss
/ functions
Functions
14 in github.com/TinyZeaMays/CircleLoss
⨍
Functions
14
◇
Types & classes
5
↓ 2 callers
Method
__init__
(self, in_features: int, out_features: int)
circle_loss_early.py:8
↓ 2 callers
Function
convert_label_to_similarity
(normed_feature: Tensor, label: Tensor)
circle_loss.py:7
↓ 2 callers
Function
get_loader
(is_train: bool, batch_size: int)
mnist_example.py:14
↓ 1 callers
Function
convert_label_to_similarity
(normed_feature: Tensor, label: Tensor)
circle_loss_early.py:38
↓ 1 callers
Function
main
(resume: bool = True)
mnist_example.py:42
Method
__init__
(self)
mnist_example.py:23
Method
__init__
(self, m: float, gamma: float)
circle_loss_early.py:17
Method
__init__
(self, m: float, gamma: float)
circle_loss_early.py:52
Method
__init__
(self, m: float, gamma: float)
circle_loss.py:21
Method
forward
(self, inp: Tensor)
mnist_example.py:37
Method
forward
(self, inp: Tensor)
circle_loss_early.py:11
Method
forward
(self, inp: Tensor, label: Tensor)
circle_loss_early.py:23
Method
forward
(self, sp: Tensor, sn: Tensor)
circle_loss_early.py:57
Method
forward
(self, sp: Tensor, sn: Tensor)
circle_loss.py:27