Artificial neural network as a numerical representation of an incremental constitutive law