SimplifyCtx

Trait SimplifyCtx 

Source
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§

Source

fn return_dtype(&self, expr: &Expression) -> VortexResult<DType>

Get the data type of the given expression.

Implementors§