You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move null checking to compiler-side using nullable annotations
- Remove redundant runtime null checks from non-nullable Parameter weight
setters in Linear, Bilinear, Convolution, PReLU, GroupNorm, LayerNorm,
and NormBase (already enforced by #nullable enable)
- Add [DisallowNull] to Parameter? properties in RNNCell, LSTMCell,
GRUCell, Embedding, and EmbeddingBag where getter can return null but
setter must not accept null
- Enable #nullable enable in Transforms.cs and remove runtime null check
from ComposeTransform constructor
- Remove runtime null check from Module.get_buffer() (string parameter
is non-nullable under #nullable enable)
- Add DisallowNullAttribute polyfill in netstandard.cs for
netstandard2.0 compatibility
0 commit comments