Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/NeuralNLP-NeuralClassifier
/ str
Method
str
model/loss.py:44–46 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
42
43
@classmethod
44
def
str(cls):
45
return
","
.join([cls.SOFTMAX,
46
cls.SIGMOID])
47
48
49
class
FocalLoss(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected