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 */
| 64 | * @return True if accessor was set else false |
| 65 | */ |
| 66 | inline 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 |
nothing calls this directly
no test coverage detected