Skip to main content

PortDesc Struct

Description of one input or output port on a graph node. More...

Declaration

struct simaai::neat::graph::PortDesc { ... }

Included Headers

#include <GraphTypes.h>

Public Member Attributes Index

std::stringname

Port name (unique within its node). More...

OutputSpecspec

Tensor/data contract carried on this port. More...

booloptional = false

If true, the port may be left unconnected. More...

intmax_in_edges = 1

Maximum incoming edges allowed; 0 means unlimited. More...

Description

Description of one input or output port on a graph node.

Definition at line 33 of file GraphTypes.h.

Public Member Attributes

max_in_edges

int simaai::neat::graph::PortDesc::max_in_edges = 1

Maximum incoming edges allowed; 0 means unlimited.

Definition at line 37 of file GraphTypes.h.

37 int max_in_edges = 1;

name

std::string simaai::neat::graph::PortDesc::name

Port name (unique within its node).

Definition at line 34 of file GraphTypes.h.

34 std::string name;

optional

bool simaai::neat::graph::PortDesc::optional = false

If true, the port may be left unconnected.

Definition at line 36 of file GraphTypes.h.

36 bool optional = false;

spec

OutputSpec simaai::neat::graph::PortDesc::spec

Tensor/data contract carried on this port.

Definition at line 35 of file GraphTypes.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.