A computer-implemented method for optimizing neural networks for receiving plural input data having a form of a tree or a Directed Acyclic Graph (DAG). Finding a common node included in at least two of the input data in common. Reconstructing the plural input data by sharing the common node.
展开▼