Absorbing phase transition with a continuously varying exponent in a quantum contact process: A neural network approach