c786d1c50fcc3416e2d684897ddd9501248fc4e1,dataset/models/tf/layers/conv.py,,,#,9

Before Change


    "m": "mip"
}

_LAYERS_KEYS = str(list(C_LAYERS.keys()))
_GROUP_KEYS = _LAYERS_KEYS.replace("v", "p")
C_GROUPS = dict(zip(_LAYERS_KEYS, _GROUP_KEYS))

def _get_layer_fn(fn, dim):
    f = ND_LAYERS[fn]
    return f if callable(f) or f is None else f[dim-1]

After Change




_CONV_LAYERS = {
    1: tf.layers.conv1d,
    2: tf.layers.conv2d,
    3: tf.layers.conv3d
}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: analysiscenter/batchflow
Commit Name: c786d1c50fcc3416e2d684897ddd9501248fc4e1
Time: 2017-11-04
Author: rhudor@gmail.com
File Name: dataset/models/tf/layers/conv.py
Class Name:
Method Name:


Project Name: pymc-devs/pymc3
Commit Name: ce97cb701aa0eb96dede07e03c04bea245deeb36
Time: 2015-06-07
Author: jsalvatier@gmail.com
File Name: pymc3/model.py
Class Name: ObservedRV
Method Name: __init__


Project Name: home-assistant/home-assistant
Commit Name: 71eb09ee5e9dbf56b747665c9dfec92dddc5d864
Time: 2016-06-10
Author: paulus@paulusschoutsen.nl
File Name: tests/components/test_configurator.py
Class Name: TestConfigurator
Method Name: test_request_all_info