tvm_tirx::ir::prim::op

Function make_const_at

Source
pub fn make_const_at(
    ty: impl Into<PrimType>,
    value: impl Into<ConstValue>,
    loc: impl Into<Location>,
) -> Result<Expr>
Expand description

make_const at loc.