Researchers are using artificial intelligence — combined with advanced optical imaging — to rapidly diagnose brain tumors.