https://github.com/Aifred-Health/Vulcan/blob/master/vulcanai/net.py#L327 ref: https://github.com/AlexiaJM/Deep-learning-with-cats/issues/11