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

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

parent de3fd61b
No related branches found
No related tags found
1 merge request!12Quantization ptq
Pipeline #32016 passed
...@@ -55,9 +55,10 @@ public: ...@@ -55,9 +55,10 @@ public:
setDatatype(DataType::Float32); setDatatype(DataType::Float32);
} }
void associateInput(__attribute__((unused)) const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final { void associateInput(const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final {
assert(inputIdx == 0 && "operator supports only 1 input"); assert(inputIdx == 0 && "operator supports only 1 input");
assert(strcmp(data->type(), Tensor::Type)==0 && "input data must be of Tensor type"); assert(strcmp(data->type(), Tensor::Type)==0 && "input data must be of Tensor type");
(void) inputIdx; //avoid unused warning
mInput = std::dynamic_pointer_cast<Tensor>(data); mInput = std::dynamic_pointer_cast<Tensor>(data);
} }
......
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