BVLC/caffe — pull request #459 by shelhamer (2014-05-27 04:57:37+00:00)
Title: Make net preprocessing options belong to instantiated net and not class

The preprocessing members `mean`, `input_scale`, and `channel_swap` were accidentally scoped as class members, making all instantiated caffe.Nets share the same options. This dodges the python boost constructor by doing an initialization check on the setters. It's a fix for now-truth and beauty can come later.