MCPcopy Create free account
hub / github.com/BVLC/caffe / MinBottomBlobs

Method MinBottomBlobs

include/caffe/layers/recurrent_layer.hpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36 virtual inline const char* type() const { return "Recurrent"; }
37 virtual inline int MinBottomBlobs() const {
38 int min_bottoms = 2;
39 if (this->layer_param_.recurrent_param().expose_hidden()) {
40 vector<string> inputs;
41 this->RecurrentInputBlobNames(&inputs);
42 min_bottoms += inputs.size();
43 }
44 return min_bottoms;
45 }
46 virtual inline int MaxBottomBlobs() const { return MinBottomBlobs() + 1; }
47 virtual inline int ExactNumTopBlobs() const {
48 int num_tops = 1;

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected