阅读背景:

使用Tensorflow的“特遣部队。收集”和“特遣部队。梯度”在一起

来源:互联网 

I want to compute the gradients of tensor "Y" with respect to parameter matrix "X" in Tensorflow. Specifically, I want to compute the gradients only for a given set of "indices" of "X". The following code computes the entire gradient first, then returns those gradients corresponding to the desired indices:I want to compute the gradients of tensor "Y" w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: