我正在为tensorflow实现Quasi-Newton优化器,我的问题是在[[[ 0. 0. 0.]
[ 0. 0. 0.]
[ 0. 0. 0.]
...,
[ 0. 0. 0.]
[ 0. 0. 0.]
[ 0. 0. 0.]]
...,
[[ 0. 0. 0.]
[ 0. 0. 0.]
[ 0. 0. 0.]
...,
[[ 0. 0. 0.]
[ 0. 0. 0.]
[ 0. 0. 0.]
...,
[ 0. 0. 0.]
[ 0. 0. 0.]
[ 0. 0. 0.]]]
函数内部调用Optimizer for row in image_arr:
for col in row:
col = [0,0,0]
print image_arr
函数时,渐变是否应用于任何值张力恰好在那个时刻发生了?
干杯, 塞吉