94fedbfc3f3bcb1aa3738f1997aa34834f8475cd,kraken/lib/vgsl.py,TorchVGSLModel,build_rnn,#TorchVGSLModel#,285

Before Change


        summarize = m.group(4) == "s"
        hidden = int(m.group(6))
        l = TransposedSummarizingRNN(input[1], hidden, type, direction, dim, summarize)
        return l.get_shape(input), [l]

    def build_dropout(self, input, block):
        pattern = re.compile(r"(?P<type>Do)(?P<name>{\w+})?")
        m = pattern.match(block)

After Change


        dim = m.group(3)  == "y"
        summarize = m.group(4) == "s"
        hidden = int(m.group(6))
        l = TransposedSummarizingRNN(input[1], hidden, type, direction, dim, summarize)

        return l.get_shape(input), self.get_layer_name(type, m.group("name")), l

    def build_dropout(self, input, block):
        pattern = re.compile(r"(?P<type>Do)(?P<name>{\w+})?")
        m = pattern.match(block)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: mittagessen/kraken
Commit Name: 94fedbfc3f3bcb1aa3738f1997aa34834f8475cd
Time: 2018-01-24
Author: mittagessen@l.unchti.me
File Name: kraken/lib/vgsl.py
Class Name: TorchVGSLModel
Method Name: build_rnn


Project Name: mittagessen/kraken
Commit Name: 94fedbfc3f3bcb1aa3738f1997aa34834f8475cd
Time: 2018-01-24
Author: mittagessen@l.unchti.me
File Name: kraken/lib/vgsl.py
Class Name: TorchVGSLModel
Method Name: build_output


Project Name: mittagessen/kraken
Commit Name: 94fedbfc3f3bcb1aa3738f1997aa34834f8475cd
Time: 2018-01-24
Author: mittagessen@l.unchti.me
File Name: kraken/lib/vgsl.py
Class Name: TorchVGSLModel
Method Name: build_rnn


Project Name: mittagessen/kraken
Commit Name: 94fedbfc3f3bcb1aa3738f1997aa34834f8475cd
Time: 2018-01-24
Author: mittagessen@l.unchti.me
File Name: kraken/lib/vgsl.py
Class Name: TorchVGSLModel
Method Name: build_conv