AnyModelBuilder
public class AnyModelBuilder
A type-erased model builder.
-
Declaration
Swift
public var isTest: Bool
-
Abstract representation of the stateful components from the model builder.
Declaration
Swift
public var parameters: Model.Parameters { get }
-
Broadly speaking, you can have two types of parameters, weight and bias. You can get them in abstract fashion with this method.
Parameters
type
Whether it is weight or bias.
Return Value
An abstract representation of parameters.