MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / parseBNLL

Function parseBNLL

parsers/caffe/caffeParser/opParsers/parseBNLL.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace nvcaffeparser1
23{
24ILayer* parseBNLL(INetworkDefinition& network, const trtcaffe::LayerParameter& msg, CaffeWeightFactory& /* weightFactory */, BlobNameToTensor& tensors)
25{
26 if (!checkBlobs(msg, 1, 1))
27 {
28 return nullptr;
29 }
30 return network.addActivation(*tensors[msg.bottom(0)], ActivationType::kSOFTPLUS);
31}
32} //namespace nvcaffeparser1

Callers

nothing calls this directly

Calls 2

checkBlobsFunction · 0.85
addActivationMethod · 0.80

Tested by

no test coverage detected