public override int GetHashCode() { int hash = 1; if (BatchSize != 0) { hash ^= BatchSize.GetHashCode(); } if (NumVisualizations != 0) { hash ^= NumVisualizations.GetHashCode(); } if (NumExamples != 0) { hash ^= NumExamples.GetHashCode(); } if (EvalIntervalSecs != 0) { hash ^= EvalIntervalSecs.GetHashCode(); } if (MaxEvals != 0) { hash ^= MaxEvals.GetHashCode(); } if (SaveGraph != false) { hash ^= SaveGraph.GetHashCode(); } if (VisualizationExportDir.Length != 0) { hash ^= VisualizationExportDir.GetHashCode(); } if (EvalMaster.Length != 0) { hash ^= EvalMaster.GetHashCode(); } hash ^= metricsSet_.GetHashCode(); if (ExportPath.Length != 0) { hash ^= ExportPath.GetHashCode(); } if (IgnoreGroundtruth != false) { hash ^= IgnoreGroundtruth.GetHashCode(); } if (UseMovingAverages != false) { hash ^= UseMovingAverages.GetHashCode(); } if (EvalInstanceMasks != false) { hash ^= EvalInstanceMasks.GetHashCode(); } if (MinScoreThreshold != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinScoreThreshold); } if (MaxNumBoxesToVisualize != 0) { hash ^= MaxNumBoxesToVisualize.GetHashCode(); } if (SkipScores != false) { hash ^= SkipScores.GetHashCode(); } if (SkipLabels != false) { hash ^= SkipLabels.GetHashCode(); } if (VisualizeGroundtruthBoxes != false) { hash ^= VisualizeGroundtruthBoxes.GetHashCode(); } if (GroundtruthBoxVisualizationColor.Length != 0) { hash ^= GroundtruthBoxVisualizationColor.GetHashCode(); } if (KeepImageIdForVisualizationExport != false) { hash ^= KeepImageIdForVisualizationExport.GetHashCode(); } if (RetainOriginalImages != false) { hash ^= RetainOriginalImages.GetHashCode(); } if (IncludeMetricsPerCategory != false) { hash ^= IncludeMetricsPerCategory.GetHashCode(); } if (RecallLowerBound != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RecallLowerBound); } if (RecallUpperBound != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RecallUpperBound); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (BatchSize != 0) { hash ^= BatchSize.GetHashCode(); } hash ^= dataAugmentationOptions_.GetHashCode(); if (SyncReplicas != false) { hash ^= SyncReplicas.GetHashCode(); } if (KeepCheckpointEveryNHours != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(KeepCheckpointEveryNHours); } if (optimizer_ != null) { hash ^= Optimizer.GetHashCode(); } if (GradientClippingByNorm != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GradientClippingByNorm); } if (FineTuneCheckpoint.Length != 0) { hash ^= FineTuneCheckpoint.GetHashCode(); } if (FineTuneCheckpointType.Length != 0) { hash ^= FineTuneCheckpointType.GetHashCode(); } if (FromDetectionCheckpoint != false) { hash ^= FromDetectionCheckpoint.GetHashCode(); } if (LoadAllDetectionCheckpointVars != false) { hash ^= LoadAllDetectionCheckpointVars.GetHashCode(); } if (NumSteps != 0) { hash ^= NumSteps.GetHashCode(); } if (StartupDelaySteps != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(StartupDelaySteps); } if (BiasGradMultiplier != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BiasGradMultiplier); } hash ^= updateTrainableVariables_.GetHashCode(); hash ^= freezeVariables_.GetHashCode(); if (ReplicasToAggregate != 0) { hash ^= ReplicasToAggregate.GetHashCode(); } if (BatchQueueCapacity != 0) { hash ^= BatchQueueCapacity.GetHashCode(); } if (NumBatchQueueThreads != 0) { hash ^= NumBatchQueueThreads.GetHashCode(); } if (PrefetchQueueCapacity != 0) { hash ^= PrefetchQueueCapacity.GetHashCode(); } if (MergeMultipleLabelBoxes != false) { hash ^= MergeMultipleLabelBoxes.GetHashCode(); } if (UseMulticlassScores != false) { hash ^= UseMulticlassScores.GetHashCode(); } if (AddRegularizationLoss != false) { hash ^= AddRegularizationLoss.GetHashCode(); } if (MaxNumberOfBoxes != 0) { hash ^= MaxNumberOfBoxes.GetHashCode(); } if (UnpadGroundtruthTensors != false) { hash ^= UnpadGroundtruthTensors.GetHashCode(); } if (RetainOriginalImages != false) { hash ^= RetainOriginalImages.GetHashCode(); } if (UseBfloat16 != false) { hash ^= UseBfloat16.GetHashCode(); } if (SummarizeGradients != false) { hash ^= SummarizeGradients.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }