1 implementation of IsCanceled
Microsoft.ML.Core (1)
Environment\HostEnvironmentBase.cs (1)
363
public bool
IsCanceled
{ get; protected set; }
6 references to IsCanceled
Microsoft.ML.AutoML (1)
Experiment\Experiment.cs (1)
82
if ((_context.Model.GetEnvironment() as ICancelable).
IsCanceled
)
Microsoft.ML.Core (1)
Utilities\Contracts.cs (1)
752
if (env is ICancelable cancelableEnv && cancelableEnv.
IsCanceled
)
Microsoft.ML.Core.Tests (4)
UnitTests\TestHosts.cs (4)
64
} while ((hosts.ElementAt(index).Item1 as ICancelable).
IsCanceled
||
72
if (hosts.Count(q => (q.Item1 as ICancelable).
IsCanceled
) == hosts.Count - 5)
81
Assert.True((currentHost as ICancelable).
IsCanceled
);
116
Assert.True((host.Item1 as ICancelable).
IsCanceled
);