Image classification using an integrated neural architecture based on boolean nodes