Generalized invariants meet constitutive neural networks: A novel framework for hyperelastic materials | Synapse