pub trait SimplifyCtx {
// Required method
fn return_dtype(&self, expr: &Expression) -> VortexResult<DType>;
}Expand description
Context for simplification.
Used to lazily compute input data types where simplification requires them.
Required Methods§
Sourcefn return_dtype(&self, expr: &Expression) -> VortexResult<DType>
fn return_dtype(&self, expr: &Expression) -> VortexResult<DType>
Get the data type of the given expression.