09b8381f7dd52c67fdd629825ff319271167d8c5,basenji/seqnn.py,SeqNN,build_model,#SeqNN#Any#,82
Before Change
//////////////////////////////////////////////////////////////////////////////////////////////////////
// slice center (replace w/ Cropping1D?)
//////////////////////////////////////////////////////////////////////////////////////////////////////
current_length = current.shape[1]
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." % \
After Change
trunk_output = current
self.model_trunk = tf.keras.Model(inputs=sequence, outputs=trunk_output)
//////////////////////////////////////////////////////////////////////////////////////////////////////
// heads
//////////////////////////////////////////////////////////////////////////////////////////////////////
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
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:
Project Name: eriklindernoren/Keras-GAN
Commit Name: fb0814d26699bf41e13e6935d10e083d012bf66a
Time: 2018-03-01
Author: eriklindernoren@gmail.com
File Name: srgan/srgan.py
Class Name: SRGAN
Method Name: build_vgg
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