MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / Activation

Method Activation

arm_compute/Acl.hpp:783–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781{
782public:
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

Callers

nothing calls this directly

Calls 3

AclActivationFunction · 0.85
report_statusFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected