Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ModelType != global::Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition.AutoMlImageClassificationInputs.Types.ModelType.Unspecified)
            {
                hash ^= ModelType.GetHashCode();
            }
            if (BaseModelId.Length != 0)
            {
                hash ^= BaseModelId.GetHashCode();
            }
            if (BudgetMilliNodeHours != 0L)
            {
                hash ^= BudgetMilliNodeHours.GetHashCode();
            }
            if (DisableEarlyStopping != false)
            {
                hash ^= DisableEarlyStopping.GetHashCode();
            }
            if (MultiLabel != false)
            {
                hash ^= MultiLabel.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ModelType != global::Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition.AutoMlImageSegmentationInputs.Types.ModelType.Unspecified)
            {
                hash ^= ModelType.GetHashCode();
            }
            if (BudgetMilliNodeHours != 0L)
            {
                hash ^= BudgetMilliNodeHours.GetHashCode();
            }
            if (BaseModelId.Length != 0)
            {
                hash ^= BaseModelId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }