e123d531b5ae9fda0846a34c4800d47ecfe5fd2b,models/SingleLayerCAE.py,SingleLayerCAE,loss,#SingleLayerCAE#Any#Any#,80
Before Change
// 1/2n \sum^{n}_{i=i}{(x_i - x"_i)^2}
mse = tf.reduce_mean(
tf.nn.l2_loss(
tf.cast(predictions, tf.float32) - tf.cast(real_values,
tf.float32)),
name="mse")
tf.add_to_collection("losses", mse)
After Change
with tf.variable_scope("loss"):
// 1/2n \sum^{n}_{i=i}{(x_i - x"_i)^2}
mse = tf.div(tf.reduce_mean(
tf.square(tf.subtract(predictions, real_values))),
2,
name="mse")
tf.add_to_collection("losses", mse)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: galeone/dynamic-training-bench
Commit Name: e123d531b5ae9fda0846a34c4800d47ecfe5fd2b
Time: 2016-12-12
Author: nessuno@nerdz.eu
File Name: models/SingleLayerCAE.py
Class Name: SingleLayerCAE
Method Name: loss
Project Name: kundajelab/dragonn
Commit Name: 6ca849c6c7fc3ce9f725813fb9b130ed53e4e362
Time: 2019-07-04
Author: annashcherbina@gmail.com
File Name: dragonn/custom_losses.py
Class Name:
Method Name: ambig_mean_squared_error
Project Name: jostmey/rwa
Commit Name: 66de7491bd7e16a072e2d1302df1f88c277dae2e
Time: 2017-04-04
Author: jostmey@gmail.com
File Name: adding_problem_100/rwa_model/train.py
Class Name:
Method Name: