Contents

biases

The key you use to access the biases of a layer in a neural network model.

Declaration

class var biases: MLParameterKey { get }

Discussion

The value type for the biases key is an MLMultiArray. You must scope this key with the name of the specific neural network layer whose biases you’d like to access. See scoped(to:).

See Also

Accessing neural network layer parameters