Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
static LongVector |
TensorType.contiguousStridesOf(long... in_sizes) |
static LongVector |
TensorType.contiguousStridesOf(long[] in_sizes,
torch.MemoryFormat memory_format) |
static LongVector |
TensorType.contiguousStridesOf(LongArrayRef in_sizes) |
static LongVector |
TensorType.contiguousStridesOf(LongArrayRef in_sizes,
torch.MemoryFormat memory_format) |
LongVector |
AdaptiveLogSoftmaxWithLossOptions.cutoffs() |
LongVector |
AdaptiveLogSoftmaxWithLossImpl.cutoffs()
Cutoffs used to assign targets to their buckets.
|
LongVector |
LongVectorOptional.get() |
LongVector |
JitNode.is(Symbol name) |
LongVector |
LayerNormFuncOptions.normalized_shape() |
LongVector |
LayerNormOptions.normalized_shape() |
LongVector |
PadFuncOptions.pad() |
LongVector |
LongVector.push_back(long value) |
LongVector |
LongVector.put(long... array) |
LongVector |
LongVector.put(long value) |
LongVector |
LongVector.put(long i,
long value) |
LongVector |
LongVector.put(LongVector x) |
LongVector |
UnflattenOptions.sizes() |
LongVector |
IValue.toIntVector() |
LongVector |
LongList.vec() |
LongVector |
InlinedCallStack.vec() |
LongVector |
LongArrayRef.vec()
\}
\name Expensive Operations
\{
|
Modifier and Type | Method and Description |
---|---|
AdaptiveLogSoftmaxWithLossImpl |
AdaptiveLogSoftmaxWithLossImpl.cutoffs(LongVector setter) |
JitNode |
JitNode.is_(Symbol name,
LongVector v) |
LongVectorOptional |
LongVectorOptional.put(LongVector value) |
LongVector |
LongVector.put(LongVector x) |
void |
TensorImpl.Reshape(LongVector dims)
Resizes the tensor without touching underlying storage.
|
Constructor and Description |
---|
AdaptiveLogSoftmaxWithLossImpl(long in_features,
long n_classes,
LongVector cutoffs) |
AdaptiveLogSoftmaxWithLossOptions(long in_features,
long n_classes,
LongVector cutoffs) |
LayerNormFuncOptions(LongVector normalized_shape) |
LayerNormImpl(LongVector normalized_shape) |
LayerNormOptions(LongVector normalized_shape) |
LongArrayRef(LongVector vec)
Construct an ArrayRef from a std::vector.
|
LongVaryingShape(LongVector vec) |
LongVectorOptional(LongVector value) |
PadFuncOptions(LongVector pad) |
UnflattenImpl(long dim,
LongVector sizes) |
UnflattenOptions(long dim,
LongVector sizes) |
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.layer_norm(Tensor input,
LongVector normalized_shape,
Tensor weight,
Tensor bias,
double eps) |
static long |
torch.legacy_cat_wrap_dim(long dim,
LongVector tensor_sizes) |
static long |
torch.maybe_wrap_dim(long dim,
LongVector tensor_sizes) |
static BytePointer |
torch.shapesToStr(LongVector shapes) |
static void |
torch.wrap_all_dims(LongVector dims_to_wrap,
long tensor_total_dims) |
Copyright © 2024. All rights reserved.