Struct Output

Struct Documentation

struct Output

Represents output stream of a model.

@type name: str @ivar name: Name of the output layer. @type dtype: DataType @ivar dtype: Data type of the output data (e.g., ‘float32’). Represents output stream of a model.

@type name: str @ivar name: Name of the output layer. @type dtype: DataType @ivar dtype: Data type of the output data (e.g., ‘float32’).

Public Members

DataType dtype

Data type of the output data (e.g., ‘float32’).

std::optional<std::string> layout

List of letters describing the output layout (e.g. ‘NC’).

std::string name

Name of the output layer.

std::optional<std::vector<int64_t>> shape

Shape of the output as a list of integers (e.g. [1, 1000]).