Improved Optimization for the Neural-network Quantum States and Tests on the Chromium Dimer | Synapse