Skip to content

API mismatches with latest TensorFlow #16

@TaoLv

Description

@TaoLv

Great benchmark for evaluting RNN units with different frameworks. But the world is changing fast and TensorFlow has evolved to version 1.4.0rc0. The benchmark for TenforFlow depends on some deprecated APIs which have been removed or replaced.

$ python rnn.py -n basic_lstm -b 32 -l 128 -s 30
basic_lstm
Compiling...
Traceback (most recent call last):
  File "rnn.py", line 59, in <module>
    output, _cell_state = rnn.rnn(cell, x, dtype=tf.float32)
AttributeError: 'module' object has no attribute 'rnn'

Hope you can update the code to follow the latest features of those frameworks. Thanks for your great works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions