chainer.functions.squared_difference

chainer.functions.squared_difference(x1, x2)[source]

Squared difference of input variables.

Parameters
Returns

(x1 - x2) ** 2 element-wise.

Return type

Variable