Defines a custom memory allocation not owned by the runtime.
Summary
data should be aligned to kDefaultTensorAlignment defined in lite/util.h. (Currently 64 bytes) NOTE: See Interpreter::SetCustomAllocationForTensor for details on usage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-10 UTC."],[],[],null,["# TfLiteCustomAllocation Struct Reference\n\nTfLiteCustomAllocation\n======================\n\n\n`#include \u003ccommon.h\u003e`\n\nDefines a custom memory allocation not owned by the runtime.\n\nSummary\n-------\n\n`data` should be aligned to kDefaultTensorAlignment defined in lite/util.h. (Currently 64 bytes) NOTE: See `Interpreter::SetCustomAllocationForTensor` for details on usage.\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------|----------|\n| [bytes](#struct_tf_lite_custom_allocation_1ac144cef6a7bf9b69f0ce3cb084028786) | `size_t` |\n| [data](#struct_tf_lite_custom_allocation_1a88083398e4505b76dc2b55a413307bc1) | `void *` |\n\nPublic attributes\n-----------------\n\n### bytes\n\n```scdoc\nsize_t TfLiteCustomAllocation::bytes\n``` \n\n### data\n\n```scdoc\nvoid * TfLiteCustomAllocation::data\n```"]]