示例#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 (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (SinceVersion != 0L)
            {
                hash ^= SinceVersion.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            hash ^= input_.GetHashCode();
            hash ^= output_.GetHashCode();
            hash ^= attribute_.GetHashCode();
            hash ^= node_.GetHashCode();
            if (DocString.Length != 0)
            {
                hash ^= DocString.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (SinceVersion != 0L)
            {
                hash ^= SinceVersion.GetHashCode();
            }
            if (Status != global::Onnx.OperatorStatus.Experimental)
            {
                hash ^= Status.GetHashCode();
            }
            hash ^= input_.GetHashCode();
            hash ^= output_.GetHashCode();
            hash ^= attribute_.GetHashCode();
            hash ^= node_.GetHashCode();
            if (DocString.Length != 0)
            {
                hash ^= DocString.GetHashCode();
            }
            hash ^= opsetImport_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#4
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);
        }