MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsQuantized

Function IsQuantized

tensorflow/compiler/mlir/lite/flatbuffer_import.cc:149–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149bool IsQuantized(const TensorT& tensor) {
150 return (tensor.quantization != nullptr) &&
151 !tensor.quantization->zero_point.empty();
152}
153
154// Create the MLIR NamedLoc location corresponding to a given tensor
155Location TensorLoc(const TensorT& tensor, Builder builder, Location base) {

Callers 4

GetTensorTypeFunction · 0.70
ConvertMinMaxToStatsOpFunction · 0.70
BuildConstOpFunction · 0.70
PropagateParamsMethod · 0.50

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected