Home
last modified time | relevance | path

Searched defs:__torch_dispatch__ (Results 1 – 25 of 61) sorted by relevance

123

/aosp_15_r20/external/pytorch/test/
H A Dtest_python_dispatch.py915 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_list_ret.A
935 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_invalid_ret.A
1004 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_subclass_priority.A
1013 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_subclass_priority.B
1109 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_new_ones.MyTensor
1117 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_like.MyTensor
1191 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_make_wrapper_subclass_propagates_metadata.WrapperTensor
1247 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_deepcopy_wrapper_subclass_with_clone_returning_different_type.MyWrapperTensor
1318 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_wrapper_subclass_extra_dispatch_keys.ExtraKeysTensor
1365 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestPythonDispatch.test_index_put_where_only_index_is_subclass.MyTensor
[all …]
H A Dtest_autocast.py216 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in WeightDTypeCastCounterMode
325 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in TestAutocastMPS.test_cast_cache_is_global.WeightDTypeCastCounterMode
H A Dtest_schema_check.py76 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in IncorrectAliasTensor
465 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in TestSchemaCheck.test_schema_info_bind_basic.SchemaInfoBindTestMode
H A Dtest_dynamic_shapes.py145 def __torch_dispatch__(cls, func_overload, types, args=(), kwargs=None): member in FakeSymbolicTensor
904 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in TestPySymInt.test_symint_as_scalar.TestSymInt
H A Dtest_subclass.py245 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TestSubclass.test_non_rewrapping_torch_dispatch_subclass_as_parameter_throws_for_detach.NonRewrappingTensor
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_subclass.py70 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in DiagTensorBelow
125 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in SparseTensor
251 def __torch_dispatch__(cls, func, types, args, kwargs): member in SubclassWithTensorFactory
H A Dtwo_tensor.py53 def __torch_dispatch__(cls, func, types, args, kwargs): member in TwoTensor
82 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in TwoTensorMode
H A Dlogging_tensor.py74 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in LoggingTensor
87 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in LoggingTensorMode
H A Dcomposite_compliance.py162 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in generate_cct_and_mode.CompositeCompliantTensor
171 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in generate_cct_and_mode.CompositeCompliantTensorMode
H A Dcustom_tensor.py45 def __torch_dispatch__(cls, func, types, args, kwargs): member in ConstantExtraMetadataTensor
/aosp_15_r20/external/pytorch/torch/utils/
H A D_python_dispatch.py82 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in TorchDispatchMode
288 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in BaseTorchDispatchMode
H A Dcheckpoint.py1276 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in _CachingTorchDispatchMode
1307 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in _CachedTorchDispatchMode
/aosp_15_r20/external/pytorch/test/dynamo/
H A Dtest_subclasses.py256 def __torch_dispatch__(cls, func, types, args, kwargs=None): member in ScaledTensor
305 def __torch_dispatch__(cls, func, types, args, kwargs=None): member in OptionalScaledTensor
356 def __torch_dispatch__(cls, func, types, args, kwargs): member in CtxSubclassTensor
1229 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in SubclassTests.test_wrapper_subclass_guards_on_inner_tensor.DoubleSizeMaybeAddGeThreeTensor
1482 def __torch_dispatch__(cls, func, types, args, kwargs): member in SubclassTests.test_subclass_constructor_proxying.SubclassTensor
1576 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in SubclassTests.test_torch_function_subclass_survives_into_aot_autograd.SubTensor
/aosp_15_r20/external/pytorch/torch/_subclasses/
H A Dfunctional_tensor.py182 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in FunctionalTensor
369 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in FunctionalTensorMode
H A Dfake_utils.py93 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in CrossRefFakeMode
H A Dschema_check_mode.py79 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in SchemaCheckMode
/aosp_15_r20/external/pytorch/test/export/
H A Dopinfo_schema.py74 def __torch_dispatch__(self, func, types, args=(), kwargs=None): member in PreDispatchSchemaCheckMode
/aosp_15_r20/external/pytorch/test/quantization/core/experimental/
H A Dtest_bits.py21 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in Int16Tensor
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dfreezing.py134 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in ErasedTensor
/aosp_15_r20/external/pytorch/torch/distributed/tensor/examples/
H A Dtorchrec_sharding_example.py86 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in LocalShardsWrapper
/aosp_15_r20/external/pytorch/torch/distributed/_tools/
H A Druntime_estimator.py448 … def __torch_dispatch__(self, func, types, args=..., kwargs=None): # type: ignore[no-untyped-def] member in RuntimeEstimator
H A Dmemory_tracker.py26 def __torch_dispatch__(self, func, types, args=..., kwargs=None): member in MemoryProfileDispatchMode
/aosp_15_r20/external/pytorch/torch/distributed/tensor/
H A D_shards_wrapper.py83 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in LocalShardsWrapper
/aosp_15_r20/external/pytorch/test/quantization/core/
H A Dtest_utils.py212 def __torch_dispatch__(cls, func, types, args, kwargs=None): member in TestUtils.test_uint1_7_dtype.UInt4Tensor
/aosp_15_r20/external/pytorch/test/profiler/
H A Dtest_profiler_tree.py68 def __torch_dispatch__(cls, func, types, args=(), kwargs=None): member in TorchDispatchTensor

123