3311242ac4a0800a122dfb1e49ec577eb6bb5e22,research/deep_speech/deep_speech_model.py,,_conv_bn_layer,#Any#Any#Any#Any#Any#Any#Any#,61

Before Change


  inputs = tf.pad(
      inputs,
      [[0, 0], [padding[0], padding[0]], [padding[1], padding[1]], [0, 0]])
  inputs = tf.layers.conv2d(
      inputs=inputs, filters=filters, kernel_size=kernel_size, strides=strides,
      padding="valid", use_bias=False, activation=tf.nn.relu6,
      name="cnn_{}".format(layer_id))
  return batch_norm(inputs, training)


def _rnn_layer(inputs, rnn_cell, rnn_hidden_size, layer_id, is_batch_norm,

After Change


  inputs = tf.pad(
      inputs,
      [[0, 0], [padding[0], padding[0]], [padding[1], padding[1]], [0, 0]])
  inputs = tf.keras.layers.Conv2D(
      filters=filters, kernel_size=kernel_size, strides=strides,
      padding="valid", use_bias=False, activation=tf.nn.relu6,
      name="cnn_{}".format(layer_id))(inputs)
  return batch_norm(inputs, training)


def _rnn_layer(inputs, rnn_cell, rnn_hidden_size, layer_id, is_batch_norm,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: tensorflow/models
Commit Name: 3311242ac4a0800a122dfb1e49ec577eb6bb5e22
Time: 2020-08-14
Author: 1483586698@qq.com
File Name: research/deep_speech/deep_speech_model.py
Class Name:
Method Name: _conv_bn_layer


Project Name: tryolabs/luminoth
Commit Name: 8f39923b36c0ad23e63b2c7e4effdfce20bdae34
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd.py
Class Name: SSD
Method Name: _build


Project Name: broadinstitute/keras-rcnn
Commit Name: f15ccfb70e223f19c5f56273a6384a163aeea9e6
Time: 2017-05-31
Author: allen.goodman@icloud.com
File Name: keras_rcnn/layers/object_detection/_region_proposal_network.py
Class Name: RegionProposalNetwork
Method Name: image_features