Calculates a tensor multiplied by zero.