10 2019 档案
摘要:``` int_shape(y_true)[0] int_shape(y_true)[1] ```
阅读全文
posted @ 2019-10-21 17:55
2021年的顺遂平安君
摘要:int_shape(y_true)[0]int_shape(y_true)[1]
阅读全文
posted @ 2019-10-21 17:55
2021年的顺遂平安君
摘要:def mean_squared_error(y_true, y_pred): if not K.is_tensor(y_pred): y_pred = K.constant(y_pred) y_true = K.cast(y_t...
阅读全文
posted @ 2019-10-21 17:54
2021年的顺遂平安君
摘要:``` def mean_squared_error(y_true, y_pred): if not K.is_tensor(y_pred): y_pred = K.constant(y_pred) y_true = K.cast(y_true, y_pred.dtype) return K.mean(K.square(y_pred - y_true), axis=-1) def mean_abs
阅读全文
posted @ 2019-10-21 17:54
2021年的顺遂平安君
浙公网安备 33010602011771号