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

Method TensorPack

arm_compute/Acl.hpp:709–719  ·  view source on GitHub ↗

Constructor * * @param[in] ctx Context from where the tensor pack will be created from * @param[out] status Status information if requested */

Source from the content-addressed store, hash-verified

707 * @param[out] status Status information if requested
708 */
709 explicit TensorPack(Context &ctx, StatusCode *status = nullptr)
710 {
711 AclTensorPack pack;
712 const auto st = detail::as_enum<StatusCode>(AclCreateTensorPack(&pack, ctx.get()));
713 reset(pack);
714 report_status(st, "[Compute Library] Failure during tensor pack creation");
715 if (status)
716 {
717 *status = st;
718 }
719 }
720 /** Add tensor to tensor pack
721 *
722 * @param[in] slot_id Slot id of the tensor in respect with the operator

Callers

nothing calls this directly

Calls 3

AclCreateTensorPackFunction · 0.85
report_statusFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected