Quantum-inspired weight-constrained neural network: reducing variable numbers by 100x compared to standard neural network