Implementation of restricted Boltzmann machine using ferroelectric-based stochastic neurons and deterministic synapses | Synapse