Contents

init(sessionDirectory:reportInterval:checkpointInterval:iterations:)

Creates a set of parameters for a training session.

Declaration

init(sessionDirectory: URL? = nil, reportInterval: Int = 5, checkpointInterval: Int = 10, iterations: Int = 1000)

Parameters

  • sessionDirectory:

    The location in the file system where the session stores its progress.

  • reportInterval:

    The number of iterations the session completes before it reports its progress.

  • checkpointInterval:

    The number of iterations the session completes before it saves a checkpoint.

  • iterations:

    The total number of iterations for the session.