Show / Hide Table of Contents

Class BatchEndEventArgs

Event triggered during batch training ends

Inheritance
System.Object
BatchEndEventArgs
Namespace: SiaNet.Events
Assembly: SiaNet.dll
Syntax
public class BatchEndEventArgs

Constructors

| Improve this Doc View Source

BatchEndEventArgs(Int32, Int64, Single, Single)

Initializes a new instance of the BatchEndEventArgs class.

Declaration
public BatchEndEventArgs(int epoch, long batch, float loss, float metric)
Parameters
Type Name Description
System.Int32 epoch

The current epoch number.

System.Int64 batch

The current batch number.

System.Single loss

The loss value for the batch.

System.Single metric

The metric value for the batch.

Properties

| Improve this Doc View Source

Batch

Gets the current batch number.

Declaration
public long Batch { get; }
Property Value
Type Description
System.Int64

The batch.

| Improve this Doc View Source

Epoch

Gets the current epoch number.

Declaration
public int Epoch { get; }
Property Value
Type Description
System.Int32

The epoch.

| Improve this Doc View Source

Loss

Gets the loss value for this batch.

Declaration
public float Loss { get; }
Property Value
Type Description
System.Single

The loss.

| Improve this Doc View Source

Metric

Gets the metric value for this batch.

Declaration
public float Metric { get; }
Property Value
Type Description
System.Single

The metric.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX