Brain-inspired computing for in-process melt pool characterization in additive manufacturing