Integrated digital inverters based on two-dimensional anisotropic ReS2 field-effect transistors | Synapse