for all motors, at the axle.
For front and rear hub motors, that's the same as 'at the wheels'.
For crank drive, that the same as 'at the chainring'.
For crank drive, you have to multiply the torque figure at the chain ring by the sprocket to ring ratio. For example, 100NM at a 44T chainring...