Sets tensor to dynamic.
| 108 | |
| 109 | // Sets tensor to dynamic. |
| 110 | inline void SetTensorToDynamic(TfLiteTensor* tensor) { |
| 111 | if (tensor->allocation_type != kTfLiteDynamic) { |
| 112 | tensor->allocation_type = kTfLiteDynamic; |
| 113 | tensor->data.raw = nullptr; |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | // Determines whether it is a hybrid op - one that has float inputs and |
| 118 | // quantized weights. |
no outgoing calls