MCPcopy Create free account
hub / github.com/apache/singa / GetRegisteredLayers

Function GetRegisteredLayers

include/singa/model/layer.h:243–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243inline const std::vector<std::string> GetRegisteredLayers() {
244 vector<std::string> ret;
245 for (const string type : Factory<Layer>::GetIDs()) {
246 auto layer = CreateLayer(type);
247 ret.push_back("Register type: " + type);
248 }
249 return ret;
250}
251} // namespace singa
252#endif // SINGA_MODEL_LAYER_H_

Callers

nothing calls this directly

Calls 1

CreateLayerFunction · 0.85

Tested by

no test coverage detected