7 references to SensitivityKey
Microsoft.ML.CpuMath (7)
src\Microsoft.ML.Core\Utilities\Contracts.cs (7)
129
if (!ex.Data.Contains(
SensitivityKey
))
132
innerSensitivity = (ex.Data[
SensitivityKey
] as MessageSensitivity?) ?? MessageSensitivity.None;
133
ex.Data[
SensitivityKey
] = innerSensitivity | sensitivity;
139
/// as encoded with <see cref="
SensitivityKey
"/>. If there is no key, then
144
/// <returns>The value encoded at the <see cref="
SensitivityKey
"/>, if it is
150
if (!ex.Data.Contains(
SensitivityKey
))
152
return (ex.Data[
SensitivityKey
] as MessageSensitivity?) ?? MessageSensitivity.Unknown;