예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OpType.Length != 0)
            {
                hash ^= OpType.GetHashCode();
            }
            if (SinceVersion != 0L)
            {
                hash ^= SinceVersion.GetHashCode();
            }
            if (Status != global::Onnx.OperatorStatus.Experimental)
            {
                hash ^= Status.GetHashCode();
            }
            if (DocString.Length != 0)
            {
                hash ^= DocString.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OpType.Length != 0)
            {
                hash ^= OpType.GetHashCode();
            }
            if (SinceVersion != 0L)
            {
                hash ^= SinceVersion.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (DocString.Length != 0)
            {
                hash ^= DocString.GetHashCode();
            }
            return(hash);
        }