Skip to main content

ClikaRT::graph::ShapeDomain

struct

Header: ClikaRT/graph/bench.h

One input's admitted shapes: its name, its element type, one DimDomain per dimension, and the axis a benchmark counts items along.

batch_axis is a guess the report echoes back: the first dimension named batch, batch_size, N or B, else the first dynamic dimension, else -1 (no batch axis; a benchmark then counts one item per iteration). BenchOptions::batch_axis overrides the guess.

Data members​

name​

std::string name

the input's name

Declared in ClikaRT/graph/bench.h, line 71

dtype​

the input's element type

Declared in ClikaRT/graph/bench.h, line 72

dims​

std::vector<DimDomain> dims

one domain per dimension

Declared in ClikaRT/graph/bench.h, line 73

batch_axis​

std::int32_t batch_axis = -1

the guessed batch axis, or -1

Declared in ClikaRT/graph/bench.h, line 74