- fixed armadillo data read
- added shape to layer - changed construction of layer from Stack factory - fixed rms_error_accu scaling - RBM: added image display using opencv - improved Status print
This commit is contained in:
+1
-1
@@ -21,6 +21,6 @@ def rms_error(d_err: np.ndarray):
|
||||
|
||||
def rms_error_accu(d_err: np.ndarray):
|
||||
d_err_squared = d_err * d_err
|
||||
s = np.sum(d_err_squared) / len(d_err)
|
||||
s = np.sum(d_err_squared) / d_err.size
|
||||
return s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user