Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/espnet/espnet
/ zero_state
Method
zero_state
espnet2/asr/decoder/rnn_decoder.py:152–153 ·
view source on GitHub ↗
(self, hs_pad)
Source
from the content-addressed store, hash-verified
150
)
151
152
def
zero_state(self, hs_pad):
153
return
hs_pad.new_zeros(hs_pad.size(0), self.dunits)
154
155
def
rnn_forward(self, ey, z_list, c_list, z_prev, c_prev):
156
if
self.dtype ==
"lstm"
:
Callers
8
forward
Method · 0.95
init_state
Method · 0.95
time_sync_decoding
Method · 0.45
align_length_sync_decoding
Method · 0.45
time_sync_decoding
Method · 0.45
align_length_sync_decoding
Method · 0.45
align_length_sync_decoding
Method · 0.45
time_sync_decoding
Method · 0.45
Calls
1
size
Method · 0.80
Tested by
no test coverage detected