Structure
Model
public struct Model
Relationships
Conforms To
Codable
Initializers
init(version:shortDescription:author:license:userDefined:)
public init(version: UInt = 4, shortDescription: String? = nil, author: String? = nil, license: String? = nil, userDefined: [String : String]? = [:])
init(version:shortDescription:author:license:userDefined:_:)
public init(version: UInt = 4, shortDescription: String? = nil, author: String? = nil, license: String? = nil, userDefined: [String : String]? = [:], _ builder: () -> Items)
init(version:shortDescription:author:license:userDefined:_:)
public init(version: UInt = 4, shortDescription: String? = nil, author: String? = nil, license: String? = nil, userDefined: [String : String]? = [:], _ builder: () -> [Items])
init(from:)
public init(from decoder: Decoder) throws
Properties
version
let version: UInt
shortDescription
let shortDescription: String?
author
let author: String?
license
let license: String?
userDefined
let userDefined: [String : String]?
inputs
var inputs: [String : Input]
outputs
var outputs: [String : Output]
trainingInputs
var trainingInputs: [String : TrainingInput]
neuralNetwork
var neuralNetwork: NeuralNetwork
coreMLData
var coreMLData: Data?
Methods
addInput(_:)
public mutating func addInput(_ input: Input)
addOutput(_:)
public mutating func addOutput(_ output: Output)
addTrainingInput(_:)
public mutating func addTrainingInput(_ trainingInput: TrainingInput)