nunits: Number of units within an array

View source: R/deepMLP.r

nunitsR Documentation

Number of units within an array

Description

Number of units within an array

Usage

nunits(a)

Arguments

a

An array.

Details

The number of units is stored in the last dimension of a. What a unit is or what it stands for is determined by the context. Usually, a unit is an attribute (feature or outcome). In the context of image processing, a unit on feature side represents a color channel.

Value

Number of units.

See Also

Other Single & Multi Layer Perceptron (SLP, MLP): as_MLP_X(), as_MLP_Y(), as_tensor_1d(), as_tensor_2d(), as_tensor_3d(), build_MLP(), fit_MLP(), load_weights_ANN(), nsamples(), nsubsequences(), ntimesteps(), predict_ANN(), save_weights_ANN()


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.