Added a ton of boilerplate code to get WeightsFromNpyFileLayer to work.