@Name(value="c10::VaryingShape<c10::Stride>") @NoOffset @Properties(inherit=torch.class) public class StrideVaryingShape extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StrideVaryingShape() |
StrideVaryingShape(long size) |
StrideVaryingShape(Pointer p)
Pointer cast constructor.
|
StrideVaryingShape(SizeTOptional size) |
StrideVaryingShape(StrideArrayRef vec) |
StrideVaryingShape(StrideOptional dims) |
StrideVaryingShape(StrideVector vec) |
Modifier and Type | Method and Description |
---|---|
StrideVectorOptional |
concrete_sizes() |
boolean |
equals(StrideVaryingShape other) |
StrideOptional |
get(long i) |
boolean |
isComplete() |
StrideVaryingShape |
merge(StrideVaryingShape other) |
SizeTOptional |
size() |
Pointer |
sizes() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StrideVaryingShape(Pointer p)
Pointer(Pointer)
.public StrideVaryingShape(@Const @ByRef StrideVector vec)
public StrideVaryingShape(@ByVal StrideArrayRef vec)
public StrideVaryingShape(@ByVal(nullValue="c10::optional<size_t>(c10::nullopt)") SizeTOptional size)
public StrideVaryingShape()
public StrideVaryingShape(@StdVector StrideOptional dims)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef StrideVaryingShape other)
@Const @ByRef @Name(value="operator []") public StrideOptional get(@Cast(value="size_t") long i)
@ByVal public SizeTOptional size()
@Cast(value="const c10::optional<c10::VaryingShape<c10::Stride>::ListOfOptionalElements>*") @ByRef public Pointer sizes()
@ByVal public StrideVaryingShape merge(@Const @ByRef StrideVaryingShape other)
@ByVal public StrideVectorOptional concrete_sizes()
Copyright © 2024. All rights reserved.