Learning Differentiable Safety-Critical Control using Control Barrier Functions for Generalization to Novel Environments | IEEE Conference Publication | IEEE Xplore