BarrierNet: Differentiable Control Barrier Functions for Learning of Safe Robot Control | Synapse