Achieving software-equivalent accuracy for hyperdimensional computing with ferroelectric-based in-memory computing | Synapse