523e24e8acf8ecc6d6b31e78cdc6e4c3967bbbdb,keras/backend/theano_backend.py,,rnn,#Any#Any#Any#Any#Any#,407

Before Change


    axes = [1, 0] + list(range(2, ndim))
    inputs = inputs.dimshuffle(axes)
    if mask is None:
        mask = expand_dims(ones_like(T.sum(inputs, axis=-1)))
    else:
        mask = mask.dimshuffle(axes)

    def _step(input, mask, output_tm1, *states):

After Change


            output, new_states = step_function(input, states)
            return [output] + new_states

        results, _ = theano.scan(
            _step,
            sequences=inputs,
            outputs_info=[None] + initial_states,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: 523e24e8acf8ecc6d6b31e78cdc6e4c3967bbbdb
Time: 2016-02-07
Author: francois.chollet@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: rnn


Project Name: GPflow/GPflow
Commit Name: 6d989a86124ec05d1fdaaeca7fd890509375844e
Time: 2020-03-16
Author: st--@users.noreply.github.com
File Name: doc/source/notebooks/advanced/ordinal_regression.pct.py
Class Name:
Method Name:


Project Name: NifTK/NiftyNet
Commit Name: c8b28432a637a780eed96547260722ff3dede57e
Time: 2017-10-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_selective.py
Class Name:
Method Name: create_label_size_map


Project Name: keras-team/keras
Commit Name: b688192cbd74495c9907b6dcfce47e9a582ae1af
Time: 2016-01-31
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: rnn