Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyachur committed Dec 21, 2020
1 parent e1ca524 commit 3af7102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ngraph/core/src/op/swish.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ bool op::v4::Swish::evaluate(const HostTensorVector& outputs, const HostTensorVe
{
NGRAPH_OP_SCOPE(
v4_Swish_evaluate,
return swish::evaluate_swish(inputs[0], in1, outputs[0], shape_size(get_output_shape(0))););
return swish::evaluate_swish(inputs, outputs[0], shape_size(get_output_shape(0))););
return false;
}
4 changes: 2 additions & 2 deletions ngraph/core/src/op/topk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ void op::v1::TopK::set_k(size_t k)
op::Constant::create(element::i64, Shape{}, {k})->output(0));
}

bool op::v1::TopK::evaluatetopk(const HostTensorVector& outputs,
const HostTensorVector& inputs) const
bool op::v1::TopK::evaluate_topk(const HostTensorVector& outputs,
const HostTensorVector& inputs) const
{
Shape arg_shape = inputs[0]->get_shape();
// 1. get axis, mode ( max/min), sort_type
Expand Down

0 comments on commit 3af7102

Please sign in to comment.