Skip to content

Commit 884f6ed

Browse files
committed
rename nmse
1 parent 08b22e9 commit 884f6ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/modules/cost.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ to the cost function.
120120
sigmoid_cross_entropy
121121
binary_cross_entropy
122122
mean_squared_error
123-
normalize_mean_squared_error
123+
normalized_mean_square_error
124124
dice_coe
125125
dice_hard_coe
126126
iou_coe
@@ -150,9 +150,9 @@ Mean squared error
150150
-------------------------
151151
.. autofunction:: mean_squared_error
152152

153-
Normalized mean squared error
153+
Normalized mean square error
154154
--------------------------------
155-
.. autofunction:: normalize_mean_squared_error
155+
.. autofunction:: normalized_mean_square_error
156156

157157
Dice coefficient
158158
-------------------------

tensorlayer/cost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def mean_squared_error(output, target, is_mean=False):
102102
mse = tf.reduce_mean(tf.reduce_sum(tf.squared_difference(output, target), [1, 2, 3]))
103103
return mse
104104

105-
def normalize_mean_squared_error(output, target):
105+
def normalized_mean_square_error(output, target):
106106
"""Return the TensorFlow expression of normalized mean-squre-error of two distributions.
107107
108108
Parameters

0 commit comments

Comments
 (0)