-
Undocumented
Declaration
Swift
associatedtype Conv1 : LayerType where Self.Device == Self.Conv1.Device, Self.Parameter == Self.Conv1.Parameter, Self.Conv1.Device == Self.Conv2.Device, Self.Conv1.Inputs == Tensor<Self.Parameter, Self.Device>, Self.Conv1.Outputs == Tensor<Self.Parameter, Self.Device>, Self.Conv1.Parameter == Self.Conv2.Parameter
-
Undocumented
Declaration
Swift
typealias DenseLayer = Sequential<Sequential<Sequential<Sequential<Dense<Self.Parameter, Self.Device>, BatchNorm<Self.Parameter, Self.Device>>, Sequential<Relu<Self.Parameter, Self.Device>, Dropout<Self.Parameter, Self.Device>>>, Sequential<Sequential<Dense<Self.Parameter, Self.Device>, BatchNorm<Self.Parameter, Self.Device>>, Sequential<Relu<Self.Parameter, Self.Device>, Dropout<Self.Parameter, Self.Device>>>>, Sequential<Dense<Self.Parameter, Self.Device>, LogSoftmax<Self.Parameter, Self.Device>>>
-
Undocumented
Declaration
Swift
var conv1: Conv1 { get set }
-
Undocumented
Declaration
Swift
var conv2: Conv2 { get set }
-
Undocumented
Declaration
Swift
var conv3: Conv3 { get set }
-
Undocumented
Declaration
Swift
var conv4: Conv4 { get set }
-
Undocumented
Declaration
Swift
var conv5: Conv5 { get set }
-
Undocumented
Declaration
Swift
var dense: DenseLayer { get set }
-
parameters
Extension methodDeclaration
Swift
var parameters: [Tensor<Parameter, Self.Device>] { get }
-
parameterPaths
Extension methodDeclaration
Swift
var parameterPaths: [WritableKeyPath<Self, Tensor<Parameter, Device>>] { get }
-
isDropoutActive
Extension methodUndocumented
Declaration
Swift
var isDropoutActive: Bool { get set }
-
callAsFunction(_:
Extension method) -
makeDense(classes:
Extension method) Undocumented
Declaration
Swift
static func makeDense(classes: Int) -> DenseLayer