A Novel Representation of Neural Networks