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

Function _Net_set_mean

caffe/python/caffe/pycaffe.py:179–206  ·  view source on GitHub ↗

Set the mean to subtract for data centering. Take input_: which input to assign this mean. mean_f: path to mean .npy with ndarray (input dimensional or broadcastable) mode: elementwise = use the whole mean (and check dimensions) channel = channel constant (e.g. mean p

(self, input_, mean_f, mode='elementwise')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected