mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
fix export RNNLM onnx model typo (#1029)
This commit is contained in:
parent
b0228c536e
commit
61ec3a7a8f
@ -232,7 +232,7 @@ def export_with_state(
|
||||
L = 20
|
||||
num_layers = model.rnn.num_layers
|
||||
hidden_size = model.rnn.hidden_size
|
||||
embedding_dim = model.rnn.embedding_dim
|
||||
embedding_dim = model.embedding_dim
|
||||
|
||||
x = torch.randint(low=1, high=params.vocab_size, size=(N, L), dtype=torch.int64)
|
||||
y = torch.randint(low=1, high=params.vocab_size, size=(N, L), dtype=torch.int64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user