teflon: Skip unsupported FullyConvolution operations

Drivers don't support these combinations yet.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34545>
This commit is contained in:
Tomeu Vizoso 2025-04-10 17:07:08 +02:00 committed by Tomeu Vizoso
parent 9409595c32
commit 9615d44d6e

View file

@ -709,9 +709,13 @@ PrepareDelegate(TfLiteContext *context, TfLiteDelegate *delegate)
padding[7] == 0;
break;
}
case kTfLiteBuiltinFullyConnected:
supported = true;
case kTfLiteBuiltinFullyConnected: {
TfLiteTensor *input_tensor = &context->tensors[node->inputs->data[0]];
supported = input_tensor->type == kTfLiteInt8 ||
input_tensor->type == kTfLiteUInt8;
supported = input_tensor->dims->data[input_tensor->dims->size - 1] < 1280;
break;
}
}
teflon_debug("%3d %7s v%-2d %-11s in:", node_index,