Solving the Nonlinear Schrödinger Equation in Optical Fibers Using Physics-informed Neural Network