Sure ,why could not I figure this out …
thinks of every element in tensor is a independent variables.and do basic calculus thing
y=x1+x2
dy / dx1 =1
if y=(x1+x2)/2
dy/dx1 = 0.5
And thank you very much!