Training is never an act of war.
What other purposes would a small naval vessel firing an EMP blast at the US coastline have?