GetNeuralNetworkLayerNames

Get the name of all layers in the neural network model. If the bOnlyOuput flag is set to true, only the unconnected output layer names are returned.

Syntax

Definition:

HRESULT GetNeuralNetworkLayerNames(
    HRESULT             hrPrev,
    ITcVnNeuralNetwork* ipNeuralNetwork,
    ITcVnContainer*&    ipLayerNames,
    bool                bOnlyOutputs
)

Parameters

Name

Type

Description

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

ipNeuralNetwork

ITcVnNeuralNetwork*

Neural network model

ipLayerNames

ITcVnContainer*&

Container with the layers names (ContainerType_Vector_String_SINT)

bOnlyOutputs

bool

If true, only the unconnected output layer names are returned.

 Return value

HRESULT

Required License

TC3 Vision Neural Network

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1.4024.59 or later

PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision