Format input for Caffe: - convert to single - resize to input dimensions (preserving number of channels) - scale feature - reorder channels (for instance color to BGR) - subtract mean - transpose dimensions to K x H x W Take input_name: name of input blob to pre
(self, input_name, input_)
source not stored for this graph (policy: none)