{
  "$schema": "https://ambiqai.github.io/helia-ui/schema/reference-model-1.json",
  "generatedFrom": {
    "sourceCommit": "70611e608778a432566e30965e8b4bc7ea75aa36",
    "tool": "doxyref",
    "version": "1.17.0"
  },
  "language": "cpp",
  "modules": [
    {
      "description": "Allocate, read, assign and reset resource variables.",
      "name": "MicroResourceVariables",
      "path": "microresourcevariables",
      "submodules": [],
      "summary": "Allocate, read, assign and reset resource variables.",
      "symbols": [
        {
          "description": "",
          "examples": [],
          "id": "tflite::MicroResourceVariables",
          "kind": "class",
          "language": "cpp",
          "members": [
            {
              "description": "Create.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::Create",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "Create",
              "params": [
                {
                  "description": "",
                  "name": "allocator",
                  "type": "MicroAllocator *"
                },
                {
                  "description": "",
                  "name": "num_variables",
                  "type": "int"
                }
              ],
              "raises": [],
              "returns": [],
              "signature": "static MicroResourceVariables * tflite::MicroResourceVariables::Create(MicroAllocator *allocator, int num_variables)",
              "source": {
                "line": 29,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L29"
              },
              "summary": "Create."
            },
            {
              "description": "Creates a resource variable if none is available for the given container and shared name pair. Returns the resource ID corresponding to the container and shared name pair. If allocation fails, the returned resource ID will be negative. The the container and shared_name must outlive this class.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::CreateIdIfNoneFound",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "CreateIdIfNoneFound",
              "params": [
                {
                  "description": "",
                  "name": "container",
                  "type": "const char *"
                },
                {
                  "description": "",
                  "name": "shared_name",
                  "type": "const char *"
                }
              ],
              "raises": [],
              "returns": [],
              "signature": "int tflite::MicroResourceVariables::CreateIdIfNoneFound(const char *container, const char *shared_name)",
              "source": {
                "line": 37,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L37"
              },
              "summary": "Creates a resource variable if none is available for the given container and shared name pair."
            },
            {
              "description": "Read the resource buffer associated with the given ID into the given tensor.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::Read",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "Read",
              "params": [
                {
                  "description": "",
                  "name": "id",
                  "type": "int"
                },
                {
                  "description": "",
                  "name": "tensor",
                  "type": "const TfLiteEvalTensor *"
                }
              ],
              "raises": [],
              "returns": [],
              "signature": "TfLiteStatus tflite::MicroResourceVariables::Read(int id, const TfLiteEvalTensor *tensor)",
              "source": {
                "line": 41,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L41"
              },
              "summary": "Read the resource buffer associated with the given ID into the given tensor."
            },
            {
              "description": "Allocates the resource buffer if none has been allocated, based on the length of the input tensor. Copies input tensor contents to the resource buffer.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::Allocate",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "Allocate",
              "params": [
                {
                  "description": "",
                  "name": "id",
                  "type": "int"
                },
                {
                  "description": "",
                  "name": "context",
                  "type": "TfLiteContext *"
                },
                {
                  "description": "",
                  "name": "tensor",
                  "type": "const TfLiteTensor *"
                }
              ],
              "raises": [],
              "returns": [],
              "signature": "TfLiteStatus tflite::MicroResourceVariables::Allocate(int id, TfLiteContext *context, const TfLiteTensor *tensor)",
              "source": {
                "line": 46,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L46"
              },
              "summary": "Allocates the resource buffer if none has been allocated, based on the length of the input tensor."
            },
            {
              "description": "Copies input_buffer contents to the resource buffer. AllocateResourceVariable with a TFLite tensor must have been called first in order to allocate the resource buffer.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::Assign",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "Assign",
              "params": [
                {
                  "description": "",
                  "name": "id",
                  "type": "int"
                },
                {
                  "description": "",
                  "name": "count_bytes",
                  "type": "size_t"
                },
                {
                  "description": "",
                  "name": "input_buffer",
                  "type": "const void *"
                }
              ],
              "raises": [],
              "returns": [],
              "signature": "TfLiteStatus tflite::MicroResourceVariables::Assign(int id, size_t count_bytes, const void *input_buffer)",
              "source": {
                "line": 52,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L52"
              },
              "summary": "Copies inputbuffer contents to the resource buffer."
            },
            {
              "description": "Zeros out all resource buffers.",
              "examples": [],
              "id": "tflite::MicroResourceVariables::ResetAll",
              "kind": "method",
              "language": "cpp",
              "members": [],
              "name": "ResetAll",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "TfLiteStatus tflite::MicroResourceVariables::ResetAll()",
              "source": {
                "line": 55,
                "path": "tensorflow/lite/micro/micro_resource_variable.h",
                "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L55"
              },
              "summary": "Zeros out all resource buffers."
            }
          ],
          "name": "MicroResourceVariables",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "class MicroResourceVariables",
          "source": {
            "line": 26,
            "path": "tensorflow/lite/micro/micro_resource_variable.h",
            "url": "https://github.com/AmbiqAI/helia-rt/blob/70611e608778a432566e30965e8b4bc7ea75aa36/tensorflow/lite/micro/micro_resource_variable.h#L26"
          },
          "summary": ""
        }
      ]
    }
  ],
  "name": "heliaRT"
}
