mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 04:12:52 +08:00
fp16 support for gather elements
This commit is contained in:
parent
6e4280ea81
commit
f2ef81a179
@ -70,6 +70,12 @@ public:
|
||||
CV_TRACE_FUNCTION();
|
||||
CV_TRACE_ARG_VALUE(name, "name", name.c_str());
|
||||
|
||||
if (inputs_arr.depth() == CV_16S)
|
||||
{
|
||||
forward_fallback(inputs_arr, outputs_arr, internals_arr);
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<Mat> inputs, outputs;
|
||||
inputs_arr.getMatVector(inputs);
|
||||
outputs_arr.getMatVector(outputs);
|
||||
|
Loading…
Reference in New Issue
Block a user