Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/NeuralNLP-NeuralClassifier
/ str
Method
str
model/loss.py:30–34 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
28
29
@classmethod
30
def
str(cls):
31
return
","
.join([cls.SOFTMAX_CROSS_ENTROPY,
32
cls.SOFTMAX_FOCAL_CROSS_ENTROPY,
33
cls.SIGMOID_FOCAL_CROSS_ENTROPY,
34
cls.BCE_WITH_LOGITS])
35
36
37
class
ActivationType(Type):
Callers
2
forward
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected