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

Method set_max_runtime

dlib/optimization/optimization_oca.h:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 ) const { return sub_max_iter; }
92
93 void set_max_runtime (
94 const std::chrono::nanoseconds& max_runtime_
95 )
96 {
97 max_runtime = max_runtime_;
98 }
99
100 std::chrono::nanoseconds get_max_runtime (
101 ) const

Calls

no outgoing calls

Tested by

no test coverage detected