| 781 | { |
| 782 | public: |
| 783 | Activation(Context &ctx, |
| 784 | const TensorDescriptor &src, |
| 785 | const TensorDescriptor &dst, |
| 786 | const ActivationDesc &desc, |
| 787 | StatusCode *status = nullptr) |
| 788 | { |
| 789 | AclOperator op; |
| 790 | const auto st = detail::as_enum<StatusCode>(AclActivation(&op, ctx.get(), src.get(), dst.get(), desc)); |
| 791 | reset(op); |
| 792 | report_status(st, "[Compute Library] Failure during Activation operator creation"); |
| 793 | if (status) |
| 794 | { |
| 795 | *status = st; |
| 796 | } |
| 797 | } |
| 798 | }; |
| 799 | } // namespace acl |
| 800 | #undef ARM_COMPUTE_IGNORE_UNUSED |
nothing calls this directly
no test coverage detected