as_int8

Contents

as_int8#

Cast an operator to an int8_t

template<typename T>
auto __MATX_INLINE__ matx::as_int8(const T &t)#

Helper function to cast an input operator to an int8_t.

Template Parameters:

T – Input type

Parameters:

t – Input operator

Returns:

Operator output casted to int8_t

Examples#

(to = as_int8(t + t2)).run(exec);