Class InferContext::Output

Nested Relationships

This class is a nested type of Class InferContext.

Class Documentation

class Output

An output from the model.

Public Functions

virtual ~Output()

Destroy the output.

virtual const std::string &Name() const = 0

Return
The name of the output.

virtual size_t ByteSize() const = 0

Return
The size in bytes of this output. This is the size for one instance of the output, not the entire size of a batched input.

virtual DataType DType() const = 0

Return
The data-type of the output.

virtual const DimsList &Dims() const = 0

Return
The dimensions/shape of the output.