@Namespace(value="c10d") public static enum torch.OpType extends Enum<torch.OpType>
Enum Constant and Description |
---|
_ALLGATHER_BASE |
_ALLREDUCE_SPARSE |
_REDUCE_SCATTER_BASE |
ALLGATHER |
ALLGATHER_COALESCED |
ALLREDUCE |
ALLREDUCE_COALESCED |
ALLTOALL |
ALLTOALL_BASE |
BARRIER |
BROADCAST |
COALESCED |
GATHER |
RECV |
RECVANYSOURCE |
REDUCE |
REDUCE_SCATTER |
SCATTER |
SEND |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
byte |
value |
Modifier and Type | Method and Description |
---|---|
torch.OpType |
intern() |
String |
toString() |
static torch.OpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.OpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.OpType BROADCAST
public static final torch.OpType ALLREDUCE
public static final torch.OpType ALLREDUCE_COALESCED
public static final torch.OpType REDUCE
public static final torch.OpType ALLGATHER
public static final torch.OpType _ALLGATHER_BASE
public static final torch.OpType ALLGATHER_COALESCED
public static final torch.OpType GATHER
public static final torch.OpType SCATTER
public static final torch.OpType REDUCE_SCATTER
public static final torch.OpType ALLTOALL_BASE
public static final torch.OpType ALLTOALL
public static final torch.OpType SEND
public static final torch.OpType RECV
public static final torch.OpType RECVANYSOURCE
public static final torch.OpType BARRIER
public static final torch.OpType _REDUCE_SCATTER_BASE
public static final torch.OpType COALESCED
public static final torch.OpType _ALLREDUCE_SPARSE
public static final torch.OpType UNKNOWN
public static torch.OpType[] values()
for (torch.OpType c : torch.OpType.values()) System.out.println(c);
public static torch.OpType 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.OpType intern()
public String toString()
toString
in class Enum<torch.OpType>
Copyright © 2024. All rights reserved.