class_docstr: Custom class used to adapt Omniglot (from Torchvision) and make it
  compatible with the Avalanche API.
class_docstr_tok: ["Custom","class","used","to","adapt","Omniglot","(","from","Torchvision",")","and","make","it","compatible","with","the","Avalanche","API","."]
code: def data(self):
      return [x for x, _ in self]
  
imports: from os.path import join
  from typing import Optional, Callable
  from torchvision.datasets import Omniglot
label_desc: Use image node_id 2 for calling the Omniglot obj's underlying member method code with example usage: obj.data() and returns: unknown