f791b89909d8ac69cac38610a4b1ed31d219920d,open_seq2seq/encoders/lm_encoders.py,AWDLSTMEncoder,_encode,#AWDLSTMEncoder#Any#,80

Before Change


          "final_state": final_state,
          "final_sequence_lengths": final_sequence_lengths}

    print(output_dict["outputs"][0].shape)
    return output_dict

// class AWDLSTMNoGenEncoder(Encoder):
//   

After Change


    )

    if self._weight_tied:
      fake_input = tf.zeros(shape=(1, self._emb_size))
      fake_output = self._output_layer.apply(fake_input)
      with tf.variable_scope("dense", reuse=True):
        self._enc_emb_w = tf.transpose(tf.get_variable("kernel"))
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: f791b89909d8ac69cac38610a4b1ed31d219920d
Time: 2018-08-01
Author: chipn@nvidia.com
File Name: open_seq2seq/encoders/lm_encoders.py
Class Name: AWDLSTMEncoder
Method Name: _encode


Project Name: ray-project/ray
Commit Name: 244aafdcf89ae814975c8c4e3faf0bd4995c7878
Time: 2020-09-05
Author: sven@anyscale.io
File Name: rllib/utils/exploration/tests/test_curiosity.py
Class Name: OneHotWrapper
Method Name: observation


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: f791b89909d8ac69cac38610a4b1ed31d219920d
Time: 2018-08-01
Author: chipn@nvidia.com
File Name: test.py
Class Name:
Method Name: