tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 441 forks source link

seq2seq example doesn't work #166

Closed stylianos-kampakis closed 8 years ago

stylianos-kampakis commented 8 years ago

The line

decoding, _, samplingdecoding, = skflow.ops.rnn_seq2seq(in_X, in_y,encoder_cell, decoder_cell=decoder_cell)

does not seem to follow the function's declaration:

def rnn_seq2seq(encoder_inputs, decoder_inputs, cell, dtype=tf.float32, scope=None):

ilblackdragon commented 8 years ago

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/learn/python/learn/ops/seq2seq_ops.py has the functions definition matching example:

def rnn_seq2seq(encoder_inputs, decoder_inputs, encoder_cell, decoder_cell=None,
                dtype=dtypes.float32, scope=None):