Transitionto Linearityof General Neural Networkswith Directed Acyclic Graph Architecture