Home
last modified time | relevance | path

Searched refs:weightType (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp106 auto weightType = weight.getType().dyn_cast<RankedTensorType>(); in buildConvOpQuantizationAttr() local
108 if (!inputType || !weightType) in buildConvOpQuantizationAttr()
112 auto weightPerTensorQType = GET_UQTYPE(weightType); in buildConvOpQuantizationAttr()
113 auto weightPerAxisQType = weightType.getElementType() in buildConvOpQuantizationAttr()
249 auto weightType = weight.getType().dyn_cast<RankedTensorType>(); in buildConvOpResultTypeInfo() local
251 assert(inputType && weightType && in buildConvOpResultTypeInfo()
255 auto weightQType = GET_QTYPE(weightType); in buildConvOpResultTypeInfo()
/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp121 auto weightType = in matchAndRewrite() local
125 if (!weightType) in matchAndRewrite()
137 weightType.getElementType().dyn_cast<mlir::quant::UniformQuantizedType>(); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Tosa/IR/
DTosaOps.cpp118 auto weightType = op.weight().getType().template dyn_cast<RankedTensorType>(); in verifyConvOp() local
121 if (!inputType || !weightType) in verifyConvOp()
127 weightType.getElementType().template isa<mlir::quant::QuantizedType>(); in verifyConvOp()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp545 VectorType weightType = VectorType::get(2, rewriter.getI32Type()); in matchAndRewrite() local
547 DenseElementsAttr::get(weightType, weights.getValue().getValue()); in matchAndRewrite()
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...