On incorporating inductive biases into deep neural networks