Skip to content

Commit

Permalink
[luci/pass] Remove empty lines (Samsung#12229)
Browse files Browse the repository at this point in the history
This will remove empty lines for to group by variables.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
  • Loading branch information
seanshpark authored Dec 7, 2023
1 parent 91c3fb3 commit 0f19667
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compiler/luci/pass/src/FoldDepthwiseConv2DPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,16 @@ bool set_params(const luci::CircleDepthwiseConv2D *node, compute::DepthwiseConv2
bool fold_depthwise_conv_2d(luci::CircleDepthwiseConv2D *node)
{
auto const input = dynamic_cast<luci::CircleConst *>(node->input());

if (input == nullptr)
return false; // Constant input is required for folding

auto const filter = dynamic_cast<luci::CircleConst *>(node->filter());

if (filter == nullptr)
return false; // Constant filter is required for folding

if (filter->dim(0).value() != 1)
return false; // Unsupported batch size

auto const bias = dynamic_cast<luci::CircleConst *>(node->bias());

if (bias == nullptr)
return false; // Constant bias is required for folding

Expand Down

0 comments on commit 0f19667

Please sign in to comment.