open class Context

A context that stores contextual information used for the application of layers.

  • The current learning phase.

    Declaration

    public var learningPhase: LearningPhase
  • Creates a context.

    Declaration

    public required init(learningPhase: LearningPhase)

    Parameters

    learningPhase

    The current learning phase.

  • Creates a context by copying all information from an existing context.

    Declaration

    public required init(_ other: Context)

    Parameters

    context

    The existing context to copy from.