MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / _Net_set_channel_swap

Function _Net_set_channel_swap

caffe/python/caffe/pycaffe.py:225–239  ·  view source on GitHub ↗

Set the input channel order for e.g. RGB to BGR conversion as needed for the reference ImageNet model. Take input_: which input to assign this channel order order: the order to take the channels. (2,1,0) maps RGB to BGR for example.

(self, input_, order)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected