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

Function IsQuantized

tensorflow/lite/delegates/nnapi/nnapi_delegate.cc:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool IsQuantized(TfLiteType type) {
91 switch (type) {
92 case kTfLiteUInt8:
93 case kTfLiteInt8:
94 return true;
95 default:
96 // kTfLiteInt16 isn't supported as quantized type yet.
97 return false;
98 }
99}
100
101bool IsScalarInputSupported(int builtin_code) {
102 switch (builtin_code) {

Callers 5

IsFloatOrQuant8OperatorFunction · 0.70
IsHybridOperatorFunction · 0.70
AddTensorMethod · 0.70
MapMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected