66dbad816118620303518dc5479bfe23977a2d30,batchflow/models/tf/encoder_decoder.py,EncoderDecoder,encoder,#Any#Any#Any#,196
Before Change
for i in range(steps):
with tf.variable_scope("encoder-"+str(i)):
// Preprocess tensor with given block
args = cls.combine_kwargs(kwargs, block_args, i, steps)
x = base_block(x, name="pre", **args)
// Downsampling
if downsample.get("layout") is not None:
After Change
for i in range(steps):
with tf.variable_scope("encoder-"+str(i)):
// Preprocess tensor with given block
args = {**kwargs, **block_args, **unpack_args(block_args, i, steps)} // enforce priority of keys
x = base_block(x, name="pre", **args)
// Downsampling
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: analysiscenter/batchflow
Commit Name: 66dbad816118620303518dc5479bfe23977a2d30
Time: 2019-07-31
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: encoder
Project Name: analysiscenter/batchflow
Commit Name: 66dbad816118620303518dc5479bfe23977a2d30
Time: 2019-07-31
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: decoder
Project Name: analysiscenter/batchflow
Commit Name: 66dbad816118620303518dc5479bfe23977a2d30
Time: 2019-07-31
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: head