Skip to content
Snippets Groups Projects
Commit 74656734 authored by Maxence Naud's avatar Maxence Naud Committed by Inna Kucher
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 8f166b2e
No related branches found
No related tags found
1 merge request!12Quantization ptq
Pipeline #32014 canceled
...@@ -87,12 +87,14 @@ public: ...@@ -87,12 +87,14 @@ public:
} }
std::shared_ptr<Data> getRawInput(__attribute__((unused)) const IOIndex_t inputIdx) const override final { std::shared_ptr<Data> getRawInput(const IOIndex_t inputIdx) const override final {
assert(inputIdx == 0 && "operator supports only 1 input"); assert(inputIdx == 0 && "operator supports only 1 input");
(void) inputIdx; // avoid unused warning
return std::static_pointer_cast<Data>(mInput); return std::static_pointer_cast<Data>(mInput);
} }
std::shared_ptr<Data> getRawOutput(__attribute__((unused)) const IOIndex_t outputIdx) const override final { std::shared_ptr<Data> getRawOutput(const IOIndex_t outputIdx) const override final {
assert(outputIdx == 0 && "operator supports only 1 output"); assert(outputIdx == 0 && "operator supports only 1 output");
(void) outputIdx; // avoid unused warning;
return mOutput; return mOutput;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment