Function tvm::tirx::DetectClipBound#
Defined in File analysis.h
Function Documentation#
-
ffi::Array<ffi::Optional<PrimExpr>> tvm::tirx::DetectClipBound(const PrimExpr &e, const ffi::Array<PrimVar> &vars)#
Detect if expression corresponds to clip bound of the vars.
- Parameters:
e – The expression to be detected.
vars – List of variables to be used in detection.
- Returns:
concat([min_value[i], max_value[i]]), None is returned if there is no min or max value return empty if the e does not match the pattern.