提问人:Prachi Sharma 提问时间:9/18/2023 更新时间:9/18/2023 访问量:25
如何计算 1D 卷积相对于 tensorflow 中输入的梯度?
How to compute gradients of 1D-Convolution with respect to input in tensorflow?
问:
我需要计算 1D 卷积相对于 tensorflow 中输入的梯度。我知道如果这是 2D 卷积,我可以使用tf.compat.v1.nn.conv2d_backprop_input。我想在 1D 卷积上执行此操作。有没有办法做到? 谢谢。
我知道正常梯度计算,但那是不一样的。解决这个问题的正确方法是什么?
答: 暂无答案
评论