SummaryWriter
@available(*, deprecated, message: "Use DL4S-Tensorboard (https://github.com/palle-k/DL4S-Tensorboard﹚ instead")
public class SummaryWriter
Writes a summary of a training procedure to a CSV file.
-
Writes a summary of a training procedure to a CSV file. The CSV file will be stored in a folder named
runNamerelative to the given destination URL.Declaration
Swift
public init(destination: URL, runName: String) throwsParameters
destinationDestination URL to store the run directory in
runNameName of the run directory.
-
Writes a scalar with the given name into the summary
Declaration
Swift
public func write<Scalar>(_ scalar: Scalar, named name: String, at iteration: Int) where Scalar : NumericTypeParameters
scalarScalar value
nameName of the scalar
iterationTraining iteration, at which the scalar was captured.
View on GitHub
SummaryWriter Class Reference