Parameter
public final class Parameter<Element> : Model where Element : TensorNumeric
extension Parameter: ModelIOConvertible
Parameter model.
-
Declaration
Swift
public init( _ kind: DeviceKind, format: TensorFormat, shape: TensorShape, initBound: Float = 0, trainable: Bool? = nil, name: String = "" )
-
Declaration
Swift
public init( _ kind: DeviceKind, _ dimensionFormat: TensorShapeFormat, initBound: Float = 0, trainable: Bool? = nil, name: String = "" )
-
Declaration
Swift
public var io: Model.IO { get }