Structure
InnerProduct
public struct InnerProduct: TrainableLayer
Relationships
Conforms To
TrainableLayer
Initializers
init(name:input:output:weight:bias:inputChannels:outputChannels:updatable:)
public init(name: String, input: [String], output: [String], weight: [Float]? = nil, bias: [Float]? = nil, inputChannels: UInt, outputChannels: UInt, updatable: Bool = false)
Properties
type
let type
name
let name: String
input
let input: [String]
output
let output: [String]
weight
let weight: [Float]
bias
let bias: [Float]
inputChannels
let inputChannels: UInt
outputChannels
let outputChannels: UInt
updatable
let updatable: Bool