c5e4972d3e3b708be80308805439622444ecf9bb,ludwig/models/modules/sequence_decoders.py,SequenceTaggerDecoder,call,#SequenceTaggerDecoder#Any#,162
Before Change
)
logger.debug(" weights: {0}".format(class_weights))
class_biases = tf.get_variable(
"biases",
[output_feature["num_classes"]]
)
logger.debug(" biases: {0}".format(class_biases))
hidden_reshape = tf.reshape(hidden, [-1, hidden_size])
logits_to_reshape = tf.matmul(hidden_reshape,
After Change
class_biases = tf.get_variable(
"biases",
[self.num_classes]
)
logger.debug(" biases: {0}".format(class_biases))
hidden_reshape = tf.reshape(hidden, [-1, hidden_size])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: uber/ludwig
Commit Name: c5e4972d3e3b708be80308805439622444ecf9bb
Time: 2020-04-15
Author: jimthompson5802@gmail.com
File Name: ludwig/models/modules/sequence_decoders.py
Class Name: SequenceTaggerDecoder
Method Name: call
Project Name: tensorlayer/tensorlayer
Commit Name: 5aab2436c4548d51b6dde2fc7867a6804d6380fd
Time: 2019-01-08
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/layers/dense/base_dense.py
Class Name: Dense
Method Name: build
Project Name: deepmipt/DeepPavlov
Commit Name: d86360af087d51f5e2cb2f9e57ddc95207fc3cd4
Time: 2018-06-05
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/layers/tf_layers.py
Class Name:
Method Name: cudnn_gru