Developing a novel neural network architecture enforcing constitutive constraints improves accuracy in multiscale modeling of biological tissues.