mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
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:
parent
9409595c32
commit
9615d44d6e
1 changed files with 6 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue