[[["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,["# TfLiteEvalTensor Struct Reference\n\nTfLiteEvalTensor\n================\n\n\n`#include \u003ccommon.h\u003e`\n\nLight-weight tensor struct for TF Micro runtime.\n\nSummary\n-------\n\nProvides the minimal amount of information required for a kernel to run during TfLiteRegistration::Eval.\n\n| ### Public attributes ||\n|------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [data](#struct_tf_lite_eval_tensor_1a82292e62c5af51d1f96ff418361f8205) | [TfLitePtrUnion](/edge/api/tflite/c/union/tf-lite-ptr-union#union_tf_lite_ptr_union) A union of data pointers. |\n| [dims](#struct_tf_lite_eval_tensor_1a0c4cf82f4bf15dee9a92fa7cf999d759) | [TfLiteIntArray](/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array)` *` A pointer to a structure representing the dimensionality interpretation that the buffer should have. |\n| [type](#struct_tf_lite_eval_tensor_1a180bc742f14353dd12e73a872f0e0cb5) | `TfLiteType` The data type specification for data stored in `data`. |\n\nPublic attributes\n-----------------\n\n### data\n\n```text\nTfLitePtrUnion TfLiteEvalTensor::data\n``` \nA union of data pointers.\n\nThe appropriate type should be used for a typed tensor based on `type`. \n\n### dims\n\n```scdoc\nTfLiteIntArray * TfLiteEvalTensor::dims\n``` \nA pointer to a structure representing the dimensionality interpretation that the buffer should have. \n\n### type\n\n```carbon\nTfLiteType TfLiteEvalTensor::type\n``` \nThe data type specification for data stored in `data`.\n\nThis affects what member of `data` union should be used."]]