Function countNetworksInFile(const std::string&)
Defined in File checkFun.h
Function Documentation
-
int countNetworksInFile(const std::string &weightsFile)
Counts the number of networks in the weights file.
- Parameters:
fileWts – Reference to the file stream opened for reading the weight file.
- Returns:
The number of networks found in the file.