Towards Hardware Implementation of Double-Layer Perceptron Based on Metal-Oxide Memristive Nanostructures