コード例 #1
0
ファイル: OutputForm.cs プロジェクト: xuchuansheng/GenXSource
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OutputForm));
            this.menu = new System.Windows.Forms.ContextMenu();
            this.Output = new NOutput();
            this.SuspendLayout();
            // 
            // Output
            // 
            this.Output.BackColor = System.Drawing.Color.LightSteelBlue;
            this.Output.Current = "Default";
            this.Output.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Output.Image = null;
            this.Output.Label = "";
            this.Output.Location = new System.Drawing.Point(0, 0);
            this.Output.Name = "Output";
            this.Output.ShowBottomPanel = false;
            this.Output.Size = new System.Drawing.Size(280, 462);
            this.Output.TabIndex = 1;
            // 
            // OutputForm
            // 
            this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(280, 462);
            this.Controls.Add(this.Output);
            this.HideOnClose = true;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "OutputForm";
            this.TabText = "Output";
            this.ResumeLayout(false);

		}
コード例 #2
0
ファイル: File.cs プロジェクト: shuetam/Proto
        public override int GetHashCode()
        {
            int hash = 1;

            if (Engine.Length != 0)
            {
                hash ^= Engine.GetHashCode();
            }
            if (Normalization.Length != 0)
            {
                hash ^= Normalization.GetHashCode();
            }
            if (NInput != 0)
            {
                hash ^= NInput.GetHashCode();
            }
            if (NOutput != 0)
            {
                hash ^= NOutput.GetHashCode();
            }
            if (LearningRate != 0D)
            {
                hash ^= LearningRate.GetHashCode();
            }
            if (BatchSize != 0)
            {
                hash ^= BatchSize.GetHashCode();
            }
            if (EpochSize != 0)
            {
                hash ^= EpochSize.GetHashCode();
            }
            if (Optimizer.Length != 0)
            {
                hash ^= Optimizer.GetHashCode();
            }
            if (LossFunc.Length != 0)
            {
                hash ^= LossFunc.GetHashCode();
            }
            hash ^= maxV_.GetHashCode();
            hash ^= minV_.GetHashCode();
            hash ^= meanV_.GetHashCode();
            hash ^= stdV_.GetHashCode();
            hash ^= layers_.GetHashCode();
            return(hash);
        }
コード例 #3
0
 /// <summary>
 /// Creates the output form.
 /// </summary>
 private static void CreateOutputForm()
 {
     OutputForm frm = new OutputForm();
     mOutput = frm.Output;
     frm.Show(DockPanel, Properties.Settings.Default.OutputDockState);
     Tabs.Output = frm;
 }