From 92636b0b864ea877184f008813972606a32981b4 Mon Sep 17 00:00:00 2001 From: shugeo Date: Thu, 10 Oct 2019 17:08:59 +0300 Subject: [PATCH] Eliminated waste operator. --- .../parity_ops/fake_quant_with_min_max_vars_per_channel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libnd4j/include/ops/declarable/generic/parity_ops/fake_quant_with_min_max_vars_per_channel.cpp b/libnd4j/include/ops/declarable/generic/parity_ops/fake_quant_with_min_max_vars_per_channel.cpp index e9bab7a1a..e5873d9dd 100644 --- a/libnd4j/include/ops/declarable/generic/parity_ops/fake_quant_with_min_max_vars_per_channel.cpp +++ b/libnd4j/include/ops/declarable/generic/parity_ops/fake_quant_with_min_max_vars_per_channel.cpp @@ -40,8 +40,7 @@ namespace nd4j { REQUIRE_TRUE(depth == max->lengthOf(), 0, "fake_quant_with_min_max_vars_per_channel: Max length should be" "%lld, but %lld occurs.", depth, max->lengthOf()); - if(block.width() == 3) { - } + auto output = OUTPUT_VARIABLE(0); int numBits = 8; if (block.getIArguments() && block.getIArguments()->size())