mxnet-notebooks icon indicating copy to clipboard operation
mxnet-notebooks copied to clipboard

Issue in rnn/lstm.ipynb

Open kevinthesun opened this issue 9 years ago • 1 comments

In cell No.7

sym = lstm_unroll(num_lstm_layer=num_lstm_layer,
                  seq_len=seq_len,
                  input_size=vocab_size,
                  num_hidden=num_hidden,
                  num_embed=num_embed,
                  num_label=vocab_size,
                  ignore_label=0)

AttributeError: 'module' object has no attribute 'element_mask'

@aileli

kevinthesun avatar Feb 14 '17 00:02 kevinthesun

Did you fix it ? I met the same question mxnet version:0.94 system: OSX, CPU ################# Guesses ################### mx.sym.element_mask maybe is a old API. But I have no idea which API replace it.

leecodedog avatar Mar 15 '17 05:03 leecodedog