| 88 | } |
| 89 | |
| 90 | bool 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 | |
| 101 | bool IsScalarInputSupported(int builtin_code) { |
| 102 | switch (builtin_code) { |
no outgoing calls
no test coverage detected