0f4c7864ba8c144ba626979d47087e5d99946cef,keras/backend/theano_backend.py,,conv2d,#Any#Any#Any#Any#Any#Any#Any#,630
Before Change
if border_mode == "same":
slices = [slice(None)] * 4
if np_kernel.shape[2] % 2 == 0:
slices[2] = slice((x.shape[2]+strides[0]-1) // strides[0])
if np_kernel.shape[3] % 2 == 0:
slices[3] = slice((x.shape[3]+strides[1]-1) // strides[1])
conv_out = conv_out[slices]
After Change
if border_mode == "same":
if np_kernel.shape[2] % 2 == 0:
conv_out = conv_out[:,:,:(x.shape[2]+strides[0]-1) // strides[0],:]
if np_kernel.shape[3] % 2 == 0:
conv_out = conv_out[:,:,:,:(x.shape[3]+strides[1]-1) // strides[1]]
if dim_ordering == "tf":
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: keras-team/keras
Commit Name: 0f4c7864ba8c144ba626979d47087e5d99946cef
Time: 2016-03-23
Author: ns@ns.ns
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: conv2d
Project Name: tryolabs/luminoth
Commit Name: 2a9ddf74c37131a07b38a97e07c7ce09881072f9
Time: 2017-08-31
Author: javirey@gmail.com
File Name: luminoth/models/fasterrcnn/rcnn_proposal.py
Class Name: RCNNProposal
Method Name: _build
Project Name: deepmipt/DeepPavlov
Commit Name: 8820084c757478875e40c6198570dfdfdb70ddc1
Time: 2020-01-27
Author: lymar@ipavlov.ai
File Name: deeppavlov/models/ranking/bilstm_siamese_network.py
Class Name: BiLSTMSiameseNetwork
Method Name: _pairwise_distances
Project Name: ray-project/ray
Commit Name: f77c638d6dc0ba4533b94fa704e46cf478479aec
Time: 2020-06-23
Author: twakhare@gmail.com
File Name: rllib/models/tf/layers/relative_multi_head_attention.py
Class Name: RelativeMultiHeadAttention
Method Name: rel_shift