Skip to main content

ClikaRT::graph::DynamicAxis

struct

Header: ClikaRT/graph/compile.h

One axis declared dynamic ahead of capture, the zero-re-capture road for an axis known to vary call to call (a batch size, a sequence length). input selects by input name (a signature name, or the positional default "input_0", "input_1", …); empty applies to every input that has the axis. A non-empty name also names the dimension: the same name on two axes declares the same size, exactly as spec::TensorSpec::dim_names.

Data members

input

std::string input

input name; empty = every input with this axis

Declared in ClikaRT/graph/compile.h, line 85

axis

std::int32_t axis = 0

0-based dimension index

Declared in ClikaRT/graph/compile.h, line 86

name

std::string name

optional shared dimension name

Declared in ClikaRT/graph/compile.h, line 87