"用潜水艇攻击" can be translated into English as "attack with a submarine" or "launch an attack using a submarine".
Both expressions convey the idea of carrying out an offensive action utilizing a submarine as the means of attack. The choice between them may depend on the specific context or desired emphasis in the sentence.