Repository URL to install this package:
|
Version:
2.4.1 ▾
|
# mypy: ignore-errors
from .base import VariableTracker
from .builtin import BuiltinVariable
from .constant import ConstantVariable, EnumVariable
from .ctx_manager import (
CatchWarningsCtxManagerVariable,
ContextWrappingVariable,
DeterministicAlgorithmsVariable,
DisabledSavedTensorsHooksVariable,
DualLevelContextManager,
GradIncrementNestingCtxManagerVariable,
GradInplaceRequiresGradCtxManagerVariable,
GradModeVariable,
InferenceModeVariable,
JvpIncrementNestingCtxManagerVariable,
SetFwdGradEnabledContextManager,
StreamContextVariable,
StreamVariable,
VmapIncrementNestingCtxManagerVariable,
WithExitFunctionVariable,
)
from .dicts import (
ConstDictVariable,
CustomizedDictVariable,
DataClassVariable,
DefaultDictVariable,
SetVariable,
)
from .distributed import BackwardHookVariable, DistributedVariable, PlacementVariable
from .functions import (
FunctoolsPartialVariable,
NestedUserFunctionVariable,
SkipFunctionVariable,
UserFunctionVariable,
UserMethodVariable,
)
from .higher_order_ops import (
FunctorchHigherOrderVariable,
TorchHigherOrderOperatorVariable,
)
from .iter import (
CountIteratorVariable,
CycleIteratorVariable,
IteratorVariable,
ItertoolsVariable,
RepeatIteratorVariable,
)
from .lazy import LazyVariableTracker
from .lists import (
BaseListVariable,
ListIteratorVariable,
ListVariable,
NamedTupleVariable,
RangeVariable,
RestrictedListSubclassVariable,
SliceVariable,
TupleIteratorVariable,
TupleVariable,
)
from .misc import (
AutogradFunctionContextVariable,
AutogradFunctionVariable,
ClosureVariable,
DeletedVariable,
ExceptionVariable,
GetAttrVariable,
InspectSignatureVariable,
LambdaVariable,
MethodWrapperVariable,
NewCellVariable,
NewGlobalVariable,
NumpyVariable,
PythonModuleVariable,
RegexPatternVariable,
StopIterationVariable,
StringFormatVariable,
SuperVariable,
TorchVersionVariable,
TypingVariable,
UnknownVariable,
)
from .nn_module import NNModuleVariable, UnspecializedNNModuleVariable
from .optimizer import OptimizerVariable
from .sdpa import SDPAParamsVariable
from .tensor import (
FakeItemVariable,
NumpyNdarrayVariable,
SymNodeVariable,
TensorVariable,
UnspecializedPythonVariable,
UntypedStorageVariable,
)
from .torch import TorchCtxManagerClassVariable, TorchInGraphFunctionVariable
from .user_defined import (
RemovableHandleVariable,
UserDefinedClassVariable,
UserDefinedObjectVariable,
)
__all__ = [
"AutogradFunctionContextVariable",
"AutogradFunctionVariable",
"BackwardHookVariable",
"BaseListVariable",
"BuiltinVariable",
"CatchWarningsCtxManagerVariable",
"ClosureVariable",
"ConstantVariable",
"ConstDictVariable",
"ContextWrappingVariable",
"CountIteratorVariable",
"CustomizedDictVariable",
"CycleIteratorVariable",
"DataClassVariable",
"DefaultDictVariable",
"DeletedVariable",
"DeterministicAlgorithmsVariable",
"EnumVariable",
"FakeItemVariable",
"GetAttrVariable",
"GradModeVariable",
"InspectSignatureVariable",
"IteratorVariable",
"ItertoolsVariable",
"LambdaVariable",
"LazyVariableTracker",
"ListIteratorVariable",
"ListVariable",
"NamedTupleVariable",
"NestedUserFunctionVariable",
"NewCellVariable",
"NewGlobalVariable",
"NNModuleVariable",
"NumpyNdarrayVariable",
"NumpyVariable",
"OptimizerVariable",
"PlacementVariable",
"PythonModuleVariable",
"RangeVariable",
"RegexPatternVariable",
"RemovableHandleVariable",
"RepeatIteratorVariable",
"RestrictedListSubclassVariable",
"SDPAParamsVariable",
"SkipFunctionVariable",
"SliceVariable",
"StopIterationVariable",
"StringFormatVariable",
"SuperVariable",
"TensorVariable",
"TorchCtxManagerClassVariable",
"TorchInGraphFunctionVariable",
"TorchVersionVariable",
"TupleVariable",
"UnknownVariable",
"UnspecializedNNModuleVariable",
"UnspecializedPythonVariable",
"UntypedStorageVariable",
"UserDefinedClassVariable",
"UserDefinedObjectVariable",
"UserFunctionVariable",
"UserMethodVariable",
"VariableTracker",
"WithExitFunctionVariable",
]