class_docstr: LRU cache.
  
  Used for storing the last used tensor.
class_docstr_tok: ["LRU","cache",".","Used","for","storing","the","last","used","tensor","."]
code: def __init__(self, size):
      if size < 1:
          raise ValueError("The cache size must be >=1")
      self._size = size
      self._dict = collections.OrderedDict()
  
imports: import collections
  import functools
  import imghdr
  import mimetypes
  import os
  import threading
  import numpy
  from werkzeug import wrappers
  from google.protobuf import json_format
  from google.protobuf import text_format
  from tensorboard import context
  from tensorboard.backend.event_processing import plugin_asset_util
  from tensorboard.backend.http_util import Respond
  from tensorboard.compat import tf
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.projector import metadata
  from tensorboard.plugins.projector.projector_config_pb2 import ProjectorConfig
  from tensorboard.util import tb_logging
label_desc: Use image node_id 1 to create a new LRUCache object  with example: obj = LRUCache(size)