af1a77ca7fbc2bdabec7e859b7046ea3a28b6081,dnc/dnc.py,DNC,forward,#DNC#Any#Any#Any#,201

Before Change


    outputs = None
    chxs = []
    if self.debug:
      viz = [mem_hidden["memory"][0]] if self.share_memory else [mem_hidden[0]["memory"][0]]

    read_vectors = [last_read] * max_length
    // outs = [input[:, x, :] for x in range(max_length)]

After Change



    if self.debug:
      viz = np.array(viz)
      s = list(viz.shape)
      viz = viz.reshape(s[0]*s[1], s[2]*s[3])

    controller_hidden = chxs

    if not self.batch_first:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: ixaxaar/pytorch-dnc
Commit Name: af1a77ca7fbc2bdabec7e859b7046ea3a28b6081
Time: 2017-11-01
Author: root@ixaxaar.in
File Name: dnc/dnc.py
Class Name: DNC
Method Name: forward


Project Name: ixaxaar/pytorch-dnc
Commit Name: 4dde9c49f8cf467b7c11675005cdcd2be1b07e1a
Time: 2017-11-01
Author: root@ixaxaar.in
File Name: dnc/dnc.py
Class Name: DNC
Method Name: forward


Project Name: markovmodel/PyEMMA
Commit Name: 7d11df30d7b62e47321775c3cd41fbe51a0305b2
Time: 2016-08-18
Author: christoph.wehmeyer@fu-berlin.de
File Name: pyemma/_base/subset.py
Class Name:
Method Name: globalise


Project Name: ixaxaar/pytorch-dnc
Commit Name: af1a77ca7fbc2bdabec7e859b7046ea3a28b6081
Time: 2017-11-01
Author: root@ixaxaar.in
File Name: dnc/dnc.py
Class Name: DNC
Method Name: forward