- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsQI32Type (0.41 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
SmallVector<Value, 4> dequantized_inputs; for (auto& input : op->getOpOperands()) { auto input_type = input.get().getType(); if (IsQI8Type(input_type) || IsQUI8Type(input_type) || IsQI32Type(input_type)) { auto dequantized_input_type = mlir::quant::QuantizedType::castToExpressedType(input_type); builder->setInsertionPoint(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h
return quantized_type != nullptr && quantized_type.getStorageTypeIntegralWidth() == 8 && !quantized_type.isSigned(); } // Return true when the given element_type is QI32. inline bool IsQI32Type(Type t) { auto quantized_type = quant::QuantizedType::getQuantizedElementType(t); return quantized_type != nullptr && quantized_type.getStorageTypeIntegralWidth() == 32 && quantized_type.isSigned(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0)