1 write to _filePath
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
37
_filePath
= filePath;
6 references to _filePath
Microsoft.Extensions.ML (6)
ModelLoaders\FileModelLoader.cs (6)
70
Logger.FileReloadBegin(_logger,
_filePath
);
79
Logger.ReloadingFile(_logger,
_filePath
, timer.Elapsed);
83
Logger.FileReloadEnd(_logger,
_filePath
, timer.Elapsed);
91
Logger.FileReloadError(_logger,
_filePath
, timer.Elapsed, ex);
134
var fs = WaitForFile(
_filePath
, FileMode.Open, FileAccess.Read, FileShare.Read);
136
throw new IOException($"Model file {
_filePath
} still got locked after 5 seconds, fail to reload.");