F_VN_GetNeuralNetworkLayerNames

F_VN_GetNeuralNetworkLayerNames 1:

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:

FUNCTION F_VN_GetNeuralNetworkLayerNames : HRESULT
VAR_INPUT
    ipNeuralNetwork : ITcVnNeuralNetwork;
    ipLayerNames    : Reference To ITcVnContainer;
    bOnlyOutputs    : BOOL;
    hrPrev          : HRESULT;
END_VAR

 Inputs

Name

Type

Description

ipNeuralNetwork

ITcVnNeuralNetwork

Neural network model

ipLayerNames

Reference To ITcVnContainer

Container with the layers names (ContainerType_Vector_String_SINT)

bOnlyOutputs

BOOL

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

hrPrev

HRESULT

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

 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