The pressure is equalized within torpedo tube before firing (i.e by introducing sea water to the tube at the depth being fired at).
There is thus no net effect from the sea pressure depth as the torpedo is essentially floating at fire condition. (it would be impossible to fire a torpedo at...