janelu9 commented on issue #7990: I don't see any seq_len  was defined in the 
example of lstm
URL: 
https://github.com/apache/incubator-mxnet/issues/7990#issuecomment-331352082
 
 
   @szha thanks for your " symbol, data_names, label_names = 
self._sym_gen(bucket_key) " I see
   ```
       def sym_gen(seq_len):
           return lstm_unroll(num_lstm_layer, seq_len, len(vocab),
                              num_hidden=num_hidden, num_embed=num_embed,
                              num_label=len(vocab))
   .....
   ```
   
   ```
       if len(buckets) == 1:
           # only 1 bucket, disable bucketing
           symbol = sym_gen(buckets[0])
       else:
           symbol = sym_gen
   
   ```
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to