Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ all
Method
all
tensorflow/python/ops/losses/losses_impl.py:60–67 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
58
59
@classmethod
60
def
all(cls):
61
return
(
62
cls.NONE,
63
cls.SUM,
64
cls.MEAN,
65
cls.SUM_OVER_BATCH_SIZE,
66
cls.SUM_OVER_NONZERO_WEIGHTS,
67
cls.SUM_BY_NONZERO_WEIGHTS)
68
69
@classmethod
70
def
validate(cls, key):
Callers
15
testGrid2LSTMCellWithRNN
Method · 0.45
testGrid2LSTMCellReLUWithRNN
Method · 0.45
testGrid3LSTMCellReLUWithRNN
Method · 0.45
testGrid1LSTMCellWithRNN
Method · 0.45
testGrid2LSTMCellWithRNNAndDynamicBatchSize
Method · 0.45
testSampleN
Method · 0.45
_assert_all_finite
Method · 0.45
_reshape_helper
Method · 0.45
test_step
Method · 0.45
testBahdanauMonotonicHard
Method · 0.45
testLuongMonotonicHard
Method · 0.45
test_hashed_output_v1_has_collision
Method · 0.45
Calls
no outgoing calls
Tested by
15
testGrid2LSTMCellWithRNN
Method · 0.36
testGrid2LSTMCellReLUWithRNN
Method · 0.36
testGrid3LSTMCellReLUWithRNN
Method · 0.36
testGrid1LSTMCellWithRNN
Method · 0.36
testGrid2LSTMCellWithRNNAndDynamicBatchSize
Method · 0.36
testSampleN
Method · 0.36
_assert_all_finite
Method · 0.36
test_step
Method · 0.36
testBahdanauMonotonicHard
Method · 0.36
testLuongMonotonicHard
Method · 0.36
test_hashed_output_v1_has_collision
Method · 0.36
test_hashed_output_v2_has_no_collision
Method · 0.36