71106ac70146d89b3e3e0774a5c27a98212e1405,basenji/seqnn.py,SeqNN,build_model,#SeqNN#Any#,82

Before Change


      target_diff = self.target_length - current_length
      target_diff2 = target_diff // 2
      if target_diff2 < 0:
        print("Model over-pools to %d for target_length %d." % \
          (current_length, self.target_length), file=sys.stderr)
        exit(1)
      elif target_diff2 > 0:
        current = layers.SliceCenter(
          left=target_diff2,

After Change


    

    trunk_output = current
    self.model_trunk = tf.keras.Model(inputs=sequence, outputs=trunk_output)

    //////////////////////////////////////////////////////////////////////////////////////////////////////
    // heads
    //////////////////////////////////////////////////////////////////////////////////////////////////////
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: calico/basenji
Commit Name: 71106ac70146d89b3e3e0774a5c27a98212e1405
Time: 2019-07-11
Author: geoff.fudenberg@gmail.com
File Name: basenji/seqnn.py
Class Name: SeqNN
Method Name: build_model


Project Name: calico/basenji
Commit Name: 09b8381f7dd52c67fdd629825ff319271167d8c5
Time: 2019-07-11
Author: drk@calicolabs.com
File Name: basenji/seqnn.py
Class Name: SeqNN
Method Name: build_model


Project Name: hunkim/PyTorchZeroToAll
Commit Name: b76379787f878107db6306af80601ee722384438
Time: 2020-06-17
Author: renz@l-0-01.cm.cluster
File Name: 12_4_hello_rnn_emb.py
Class Name:
Method Name: