MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / LoadWeight

Method LoadWeight

lesson5-TrainingVGG/Classification.cpp:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void Classifier::LoadWeight(std::string weight){
162 torch::load(vgg,weight);
163 vgg->eval();
164 return;
165}

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected