modelBaseFeedForwardNeuralNet

Diagram of BaseFeedForwardNeuralNet

Extends from BaseGenericNeuralNet.

Information

This is a specialized version of the BaseGenericNeuralNet. It can be used for neural networks which use several scalar inputs and outputs. The user has to create the wanted inputs and has to connect them to the input of the block array2DFlatteningModel. This input has the same shape [batchSize, numberOfInputs] of the input used in the tensorflow model. The individual input have to be fed into the last dimension. A batch size can be used simultaneously calculation.

The example PipeLocalHeatTransfer_smallNN extends this model.

Parameters

TypeNameDefaultDescription
IntegernInputElements (from BaseNeuralNet)product(inputSizes)
IntegernOutputElements (from BaseNeuralNet)product(outputSizes)
Selected Model
StringpathToAIModel (from BaseNeuralNet)""Choose path to AI model
Tensor sizing
IntegerinputDimensions (from BaseNeuralNet)1Number of input dimension
IntegerinputSizes (from BaseNeuralNet){1}Vector with size of tensor in each dimension
IntegeroutputDimensions (from BaseNeuralNet)1Number of output dimension
IntegeroutputSizes (from BaseNeuralNet){1}Vector with size of tensor in each dimension
RNN Timing Settings
Booleanstateful (from BaseNeuralNet)falseActivate state handling for RNN with state in-/outputs
RealsamplePeriod (from BaseNeuralNet)0Fixed sample period for RNNs
Advanced › Performance
IntegernumberOfThreads (from BaseNeuralNet)1Number of threads used for inference (0: Number of CPU cores)
Input/Output Sizing
IntegernumberOfInputs1Number of Real Inputs
IntegernumberOfOutputs1Number of Real Outputs
IntegerbatchSize1Number of parallel batched simulations

Components

TypeNameDefaultDescription
Internal.Utilities.RunInferenceFlatInputrunInference (from BaseGenericNeuralNet)
Internal.Utilities.SubModels.Array2DFlatteningModelarray2DFlatteningModel
Internal.Utilities.SubModels.Array2DDeflatteningModelarray2DDeflatteningModel