Linear Type

A model that applies a linear transformation to the incoming data: \(y = xA^T + b\)

Constructors

Constructor Description

Linear(inFeatures, outFeatures, ?bias)

Full Usage: Linear(inFeatures, outFeatures, ?bias)

Parameters:
    inFeatures : int
    outFeatures : int
    ?bias : bool

Returns: Linear
inFeatures : int
outFeatures : int
?bias : bool
Returns: Linear

Instance members

Instance member Description

this.bias

Full Usage: this.bias

Get or set the bias parameter of the model

this.weight

Full Usage: this.weight

Get or set the weight parameter of the model


© Copyright 2021, DiffSharp Contributors.