10 2019 档案
摘要:``` int_shape(y_true)[0] int_shape(y_true)[1] ```
阅读全文
摘要:int_shape(y_true)[0]int_shape(y_true)[1]
阅读全文
摘要: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...
阅读全文
摘要:``` 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
阅读全文