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

Method SetParam

test/gtest/gtest.h:19233–19235  ·  view source on GitHub ↗

Sets parameter value. The caller is responsible for making sure the value remains alive and unchanged throughout the current test.

Source from the content-addressed store, hash-verified

19231 // Sets parameter value. The caller is responsible for making sure the value
19232 // remains alive and unchanged throughout the current test.
19233 static void SetParam(const ParamType* parameter) {
19234 parameter_ = parameter;
19235 }
19236
19237 // Static value used for accessing parameter during a test lifetime.
19238 static const ParamType* parameter_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected