2 writes to _reloadToken
Microsoft.Extensions.ML (2)
ModelLoaders\FileModelLoader.cs (2)
38
_reloadToken
= new ModelReloadToken();
72
var previousToken = Interlocked.Exchange(ref
_reloadToken
, new ModelReloadToken());
2 references to _reloadToken
Microsoft.Extensions.ML (2)
ModelLoaders\FileModelLoader.cs (2)
97
if (
_reloadToken
== null) throw new InvalidOperationException("Start must be called on a ModelLoader before it can be used.");
98
return
_reloadToken
;