Hi! I’m trying to replace my PReLU’s with quantized ones and run the example with SimpleNetwork and had faced the problem like this:
weight_min_res = self.quantized_op.mul(-self.weight, torch.relu(-inputs))
                                               ~~~~~~~~~~~~ <--- HERE
        inputs = self.quantized_op.add(torch.relu(inputs), weight_min_res)
        inputs = self.dequant(inputs)
RuntimeError: Could not run 'aten::empty.memory_format' with arguments from the 'QuantizedCPU' backend. 'aten::empty.memory_format' is only available for these backends: [CPU, CUDA, MkldnnCPU, SparseCPU, SparseCUDA, BackendSelect, Autograd, Profiler, Tracer].

Have you faced this problem before and do you know by any chance how to overcome it?