Welcome to the forum.
Typically, when an inverter is rated for 300A, that means 300A on each phase leg. For conductors between the inverter and the motor, use the motor HP rating and the corresponding FLA from NEC table 430.250 to size the wire per 430.22. The motor (and wires) need overcurrent protection too.. What sort of inverter is this? What is the motor for?