class_docstr: TensorLike metaclass that defines dunder methods for the ``isinstance`` and ``issubclass``
  checks.
  
  .. note:: These special dunder methods can only be defined inside a metaclass.
class_docstr_tok: ["TensorLike","metaclass","that","defines","dunder","methods","for","the","``","isinstance","``","and","``","issubclass","``","checks",".","..","note",":",":","These","special","dunder","methods","can","only","be","defined","inside","a","metaclass","."]
docstr: Dunder method that checks if a class is a subclass of ``TensorLike``.
docstr_tok: ["Dunder","method","that","checks","if","a","class","is","a","subclass","of","``","TensorLike","``","."]
code: def __subclasscheck__(cls, other):
      """Dunder method that checks if a class is a subclass of ``TensorLike``."""
      return (
          issubclass(
              other, _TensorLike.__args__
          )  # TODO: Remove __args__ when python>=3.10
          or _is_jax(other, subclass=True)
          or _is_torch(other, subclass=True)
          or _is_tensorflow(other, subclass=True)
      )
  
file_path: pennylane/pennylane/typing.py
imports: import contextlib
  import sys
  from typing import Union, TypeVar, Tuple
  import numpy
  from autograd.numpy.numpy_boxes import ArrayBox
label_desc: Use image node_id 2 for calling the TensorLikeMETA obj's underlying member method code with example usage: obj.__subclasscheck__(cls, other) and returns: unknown