MCPcopy Create free account
hub / github.com/davisking/dlib / get_gradient_input_element

Method get_gradient_input_element

dlib/dnn/core.h:3281–3287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3279 }
3280
3281 float get_gradient_input_element(unsigned long i) const
3282 {
3283 if (i < gradient_input.size())
3284 return gradient_input.host()[i];
3285 else
3286 return subnet().get_gradient_input_element(i-gradient_input.size());
3287 }
3288
3289
3290 private:

Callers 1

impl_test_layerFunction · 0.80

Calls 2

sizeMethod · 0.45
hostMethod · 0.45

Tested by

no test coverage detected