MLIR

Multi-Level IR Compiler Framework

'quant' Dialect

Operation definition 

quant.dcast (::mlir::quant::DequantizeCastOp) 

Interfaces: NoSideEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands: 

OperandDescription
argprimitive/tensor/vector of real valued primitive (float or quantized type)

Results: 

ResultDescription
«unnamed»primitive/tensor/vector of real valued primitive (float or quantized type)

quant.qcast (::mlir::quant::QuantizeCastOp) 

Interfaces: NoSideEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands: 

OperandDescription
argprimitive/tensor/vector of real valued primitive (float or quantized type)

Results: 

ResultDescription
«unnamed»primitive/tensor/vector of real valued primitive (float or quantized type)

quant.scast (::mlir::quant::StorageCastOp) 

Interfaces: NoSideEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands: 

OperandDescription
arg

Results: 

ResultDescription
«unnamed»

Type constraint definition 

UniformQuantizedType