# Source code for tensorplay.autograd.variable Source: https://www.tensorplay.cn/docs/_modules/tensorplay/autograd/variable.html ``` """Tensor variable compatibility names for the automatic differentiation API.""" import tensorplay __all__ = ["VariableMeta", "Variable"] [docs] class VariableMeta(type): def __instancecheck__(cls, other): return isinstance(other, tensorplay.Tensor) [docs] class Variable(metaclass=VariableMeta): _execution_engine = tensorplay._C._autograd ```