How to implement SNR -As a metric function Keras?

前端 未结 0 841
轮回少年
轮回少年 2021-02-08 22:46

I am implementing a denoising autoencoder where I want to use SNR as a metric function. But how can I implement it?

def PSNR(y_true, y_pred):

max_I = 1.0
val = 2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题