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

Function set_tensor_accessor

arm_compute/graph/Utils.h:66–72  ·  view source on GitHub ↗

Sets an accessor on a given tensor * * @param[in] tensor Tensor to set the accessor to * @param[in] accessor Accessor to set * * @return True if accessor was set else false */

Source from the content-addressed store, hash-verified

64 * @return True if accessor was set else false
65 */
66inline Status set_tensor_accessor(Tensor *tensor, std::unique_ptr<ITensorAccessor> accessor)
67{
68 ARM_COMPUTE_RETURN_ERROR_ON(tensor == nullptr);
69 tensor->set_accessor(std::move(accessor));
70
71 return Status{};
72}
73/** Checks if a specific target is supported
74 *
75 * @param[in] target Target to check

Callers

nothing calls this directly

Calls 1

set_accessorMethod · 0.80

Tested by

no test coverage detected