ONE - On-device Neural Engine
|
Class to handle domain conversion while converting a canonical node to TFL node(s) More...
#include <GraphBlock.h>
Public Member Functions | |
template<FeatureLayout FeatureLayoutT> | |
TFLT * | convert (CanonicalT *origin, InputHandler< CanonicalT, TFLT > &input_handler) |
Performs domain conversion. | |
Class to handle domain conversion while converting a canonical node to TFL node(s)
Definition at line 134 of file GraphBlock.h.
TFLT * exo::DomainConverter< CanonicalT, TFLT >::convert | ( | CanonicalT * | origin, |
InputHandler< CanonicalT, TFLT > & | input_handler | ||
) |
Performs domain conversion.
Definition at line 152 of file GraphBlock.h.
References loco::Feature, exo::InputHandler< CanonicalT, TFLT >::getInputsToConvert(), exo::InputHandler< CanonicalT, TFLT >::handover(), INTERNAL_EXN_V, exo::NHWC, exo::InputHandler< CanonicalT, TFLT >::nullify(), loco::replace(), exo::InputHandler< CanonicalT, TFLT >::set(), loco::shape_get(), loco::shape_known(), loco::Tensor, oops::to_uint32(), and loco::Subst< SubstQualifier::Default >::with().
Referenced by exo::EltwiseMaxConverter::convert(), exo::EltwiseSqrtConverter::convert(), exo::ReluConverter::convert(), and exo::Relu6Converter::convert().