Skip to content

Struct tensor_range

struct tensor_range base

struct tensor_range { … }

Half-open or one-ended range descriptor for tensor slicing.

variable start

opt_index_t start

Start of the range (inclusive). std::nullopt means "from the beginning" (or "to the end" for negative steps).

Fully qualified name: kfr::tensor_range::start

Declared at base/shape.hpp:905

variable stop

End of the range (exclusive). std::nullopt means "to the end" (or "from the beginning" for negative steps).

Fully qualified name: kfr::tensor_range::stop

Declared at base/shape.hpp:908

variable step

Step between elements. Defaults to 1. May be negative for a reverse iteration.

Fully qualified name: kfr::tensor_range::step

Declared at base/shape.hpp:911

Fully qualified name: kfr::tensor_range

Declared at base/shape.hpp:901

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.