@Namespace(value="c10") public static enum torch.DispatchKey extends Enum<torch.DispatchKey>
Modifier and Type | Field and Description |
---|---|
short |
value |
Modifier and Type | Method and Description |
---|---|
torch.DispatchKey |
intern() |
String |
toString() |
static torch.DispatchKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.DispatchKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.DispatchKey Undefined
public static final torch.DispatchKey CatchAll
public static final torch.DispatchKey Dense
public static final torch.DispatchKey FPGA
public static final torch.DispatchKey ORT
public static final torch.DispatchKey Vulkan
public static final torch.DispatchKey Metal
public static final torch.DispatchKey Quantized
public static final torch.DispatchKey CustomRNGKeyId
public static final torch.DispatchKey MkldnnCPU
public static final torch.DispatchKey Sparse
public static final torch.DispatchKey SparseCsrCPU
public static final torch.DispatchKey SparseCsrCUDA
public static final torch.DispatchKey NestedTensor
public static final torch.DispatchKey BackendSelect
public static final torch.DispatchKey Python
public static final torch.DispatchKey Fake
public static final torch.DispatchKey FuncTorchDynamicLayerBackMode
public static final torch.DispatchKey Functionalize
public static final torch.DispatchKey Named
public static final torch.DispatchKey Conjugate
public static final torch.DispatchKey Negative
public static final torch.DispatchKey ZeroTensor
public static final torch.DispatchKey ADInplaceOrView
public static final torch.DispatchKey AutogradOther
public static final torch.DispatchKey AutogradFunctionality
public static final torch.DispatchKey AutogradNestedTensor
public static final torch.DispatchKey Tracer
public static final torch.DispatchKey AutocastCPU
public static final torch.DispatchKey AutocastXPU
public static final torch.DispatchKey AutocastIPU
public static final torch.DispatchKey AutocastHPU
public static final torch.DispatchKey AutocastXLA
public static final torch.DispatchKey AutocastCUDA
public static final torch.DispatchKey AutocastPrivateUse1
public static final torch.DispatchKey FuncTorchBatched
public static final torch.DispatchKey FuncTorchVmapMode
public static final torch.DispatchKey Batched
public static final torch.DispatchKey VmapMode
public static final torch.DispatchKey FuncTorchGradWrapper
public static final torch.DispatchKey DeferredInit
public static final torch.DispatchKey PythonTLSSnapshot
public static final torch.DispatchKey FuncTorchDynamicLayerFrontMode
public static final torch.DispatchKey TESTING_ONLY_GenericWrapper
public static final torch.DispatchKey TESTING_ONLY_GenericMode
public static final torch.DispatchKey PreDispatch
public static final torch.DispatchKey PythonDispatcher
public static final torch.DispatchKey EndOfFunctionalityKeys
public static final torch.DispatchKey StartOfDenseBackends
public static final torch.DispatchKey CPU
public static final torch.DispatchKey CUDA
public static final torch.DispatchKey HIP
public static final torch.DispatchKey XLA
public static final torch.DispatchKey MPS
public static final torch.DispatchKey IPU
public static final torch.DispatchKey XPU
public static final torch.DispatchKey HPU
public static final torch.DispatchKey VE
public static final torch.DispatchKey Lazy
public static final torch.DispatchKey MTIA
public static final torch.DispatchKey PrivateUse1
public static final torch.DispatchKey PrivateUse2
public static final torch.DispatchKey PrivateUse3
public static final torch.DispatchKey Meta
public static final torch.DispatchKey EndOfDenseBackends
public static final torch.DispatchKey StartOfQuantizedBackends
public static final torch.DispatchKey QuantizedCPU
public static final torch.DispatchKey QuantizedCUDA
public static final torch.DispatchKey QuantizedHIP
public static final torch.DispatchKey QuantizedXLA
public static final torch.DispatchKey QuantizedMPS
public static final torch.DispatchKey QuantizedIPU
public static final torch.DispatchKey QuantizedXPU
public static final torch.DispatchKey QuantizedHPU
public static final torch.DispatchKey QuantizedVE
public static final torch.DispatchKey QuantizedLazy
public static final torch.DispatchKey QuantizedMTIA
public static final torch.DispatchKey QuantizedPrivateUse1
public static final torch.DispatchKey QuantizedPrivateUse2
public static final torch.DispatchKey QuantizedPrivateUse3
public static final torch.DispatchKey QuantizedMeta
public static final torch.DispatchKey EndOfQuantizedBackends
public static final torch.DispatchKey StartOfSparseBackends
public static final torch.DispatchKey SparseCPU
public static final torch.DispatchKey SparseCUDA
public static final torch.DispatchKey SparseHIP
public static final torch.DispatchKey SparseXLA
public static final torch.DispatchKey SparseMPS
public static final torch.DispatchKey SparseIPU
public static final torch.DispatchKey SparseXPU
public static final torch.DispatchKey SparseHPU
public static final torch.DispatchKey SparseVE
public static final torch.DispatchKey SparseLazy
public static final torch.DispatchKey SparseMTIA
public static final torch.DispatchKey SparsePrivateUse1
public static final torch.DispatchKey SparsePrivateUse2
public static final torch.DispatchKey SparsePrivateUse3
public static final torch.DispatchKey SparseMeta
public static final torch.DispatchKey EndOfSparseBackends
public static final torch.DispatchKey StartOfNestedTensorBackends
public static final torch.DispatchKey NestedTensorCPU
public static final torch.DispatchKey NestedTensorCUDA
public static final torch.DispatchKey NestedTensorHIP
public static final torch.DispatchKey NestedTensorXLA
public static final torch.DispatchKey NestedTensorMPS
public static final torch.DispatchKey NestedTensorIPU
public static final torch.DispatchKey NestedTensorXPU
public static final torch.DispatchKey NestedTensorHPU
public static final torch.DispatchKey NestedTensorVE
public static final torch.DispatchKey NestedTensorLazy
public static final torch.DispatchKey NestedTensorMTIA
public static final torch.DispatchKey NestedTensorPrivateUse1
public static final torch.DispatchKey NestedTensorPrivateUse2
public static final torch.DispatchKey NestedTensorPrivateUse3
public static final torch.DispatchKey NestedTensorMeta
public static final torch.DispatchKey EndOfNestedTensorBackends
public static final torch.DispatchKey StartOfAutogradFunctionalityBackends
public static final torch.DispatchKey AutogradCPU
public static final torch.DispatchKey AutogradCUDA
public static final torch.DispatchKey AutogradHIP
public static final torch.DispatchKey AutogradXLA
public static final torch.DispatchKey AutogradMPS
public static final torch.DispatchKey AutogradIPU
public static final torch.DispatchKey AutogradXPU
public static final torch.DispatchKey AutogradHPU
public static final torch.DispatchKey AutogradVE
public static final torch.DispatchKey AutogradLazy
public static final torch.DispatchKey AutogradMTIA
public static final torch.DispatchKey AutogradPrivateUse1
public static final torch.DispatchKey AutogradPrivateUse2
public static final torch.DispatchKey AutogradPrivateUse3
public static final torch.DispatchKey AutogradMeta
public static final torch.DispatchKey EndOfAutogradFunctionalityBackends
public static final torch.DispatchKey EndOfRuntimeBackendKeys
public static final torch.DispatchKey Autograd
public static final torch.DispatchKey CompositeImplicitAutograd
public static final torch.DispatchKey FuncTorchBatchedDecomposition
public static final torch.DispatchKey CompositeImplicitAutogradNestedTensor
public static final torch.DispatchKey CompositeExplicitAutograd
public static final torch.DispatchKey CompositeExplicitAutogradNonFunctional
public static final torch.DispatchKey StartOfAliasKeys
public static final torch.DispatchKey EndOfAliasKeys
public static final torch.DispatchKey CPUTensorId
public static final torch.DispatchKey CUDATensorId
public static final torch.DispatchKey DefaultBackend
public static final torch.DispatchKey PrivateUse1_PreAutograd
public static final torch.DispatchKey PrivateUse2_PreAutograd
public static final torch.DispatchKey PrivateUse3_PreAutograd
public static final torch.DispatchKey Autocast
public static torch.DispatchKey[] values()
for (torch.DispatchKey c : torch.DispatchKey.values()) System.out.println(c);
public static torch.DispatchKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic torch.DispatchKey intern()
public String toString()
toString
in class Enum<torch.DispatchKey>
Copyright © 2024. All rights reserved.