From 8e15af351631109c623e4d114ee49a0332c83ce5 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Mon, 15 Jul 2024 11:01:12 +0900 Subject: [PATCH] [luci-interpreter] Tidy duplicate check (#13419) This will tidy duplicate check in FullyConnected::configure(). ONE-DCO-1.0-Signed-off-by: SaeHie Park --- compiler/luci-interpreter/src/kernels/FullyConnected.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/luci-interpreter/src/kernels/FullyConnected.cpp b/compiler/luci-interpreter/src/kernels/FullyConnected.cpp index 5dc91d35a14..ce34655dc5e 100644 --- a/compiler/luci-interpreter/src/kernels/FullyConnected.cpp +++ b/compiler/luci-interpreter/src/kernels/FullyConnected.cpp @@ -84,9 +84,6 @@ void FullyConnected::configure() const int32_t batch_size = input_shape.num_elements() / weights_shape.dim(1); const int32_t num_units = weights_shape.dim(0); - if (bias()) - LUCI_INTERPRETER_CHECK(bias()->shape().num_elements() == weights()->shape().dim(0)); - if (params().keep_num_dims == false) { output()->resize({batch_size, num_units});