Verifying Properties of Binary Neural Networks Using Sparse Polynomial Optimization