Skip to content

Commit

Permalink
Fix ACL build break (#3952)
Browse files Browse the repository at this point in the history
  • Loading branch information
tracysh authored May 15, 2020
1 parent 47ae969 commit be003db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions onnxruntime/core/providers/acl/activation/activations.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@

#pragma once
#include "core/framework/op_kernel.h"
#include "core/providers/cpu/activation/activations.h"

namespace onnxruntime {
namespace acl {

template <typename T>
class Relu : public onnxruntime::Relu<T> {
class Relu : public OpKernel {
public:
explicit Relu(const OpKernelInfo& info) : onnxruntime::Relu<T>(info) {}
explicit Relu(const OpKernelInfo& info) : OpKernel(info) {}

Status Compute(OpKernelContext* context) const override;
};
Expand Down

0 comments on commit be003db

Please sign in to comment.