MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / set_channel_swap

Method set_channel_swap

python/caffe/io.py:203–219  ·  view source on GitHub ↗

Set the input channel order for e.g. RGB to BGR conversion as needed for the reference ImageNet model. N.B. this assumes the channels are the first dimension AFTER transpose. Parameters ---------- in_ : which input to assign this channel order

(self, in_, order)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

prepare_networkFunction · 0.95
prepare_networkFunction · 0.95
__init__Method · 0.80
__init__Method · 0.80

Calls 1

__check_inputMethod · 0.95

Tested by

no test coverage detected