as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create a neural network for recognizing cat's and dog's photographs.
user
the neural network should be composed of two convolutional layers and two pooling layers. it should also be connected with a fully connected layer of 128 neurons to classify the cats and dogs photographs. after constructing the network layers, the network should be trained with a dataset consisting of cats and dogs images.
assistant