Skip to main content

LayoutConvertSpec Struct

Axis-permutation parameters for HWC↔CHW-style layout conversions. More...

Declaration

struct simaai::neat::LayoutConvertSpec { ... }

Included Headers

#include <PreprocessPlan.h>

Public Member Functions Index

boolhas_perm () const

True iff perm was explicitly set. More...

Public Member Attributes Index

AutoFlagenable = AutoFlag::Auto

On/off/auto. More...

std::vector< int >perm

Permutation indices applied to input axes (e.g., {2,0,1} for HWC→CHW). More...

Description

Axis-permutation parameters for HWC↔CHW-style layout conversions.

Definition at line 118 of file PreprocessPlan.h.

Public Member Functions

has_perm()

bool simaai::neat::LayoutConvertSpec::has_perm ()
inline

True iff perm was explicitly set.

Definition at line 124 of file PreprocessPlan.h.

124 bool has_perm() const {
125 return !perm.empty();
126 }

Public Member Attributes

enable

AutoFlag simaai::neat::LayoutConvertSpec::enable = AutoFlag::Auto

On/off/auto.

Definition at line 119 of file PreprocessPlan.h.

perm

std::vector<int> simaai::neat::LayoutConvertSpec::perm

Permutation indices applied to input axes (e.g., {2,0,1} for HWC→CHW).

Definition at line 121 of file PreprocessPlan.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.