@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class Stride extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Stride() |
Stride(long size)
Native array allocator.
|
Stride(Pointer p)
Pointer cast constructor.
|
Stride(SizeTOptional stride_index,
BoolOptional contiguous,
SizeTOptional stride) |
Modifier and Type | Method and Description |
---|---|
BoolOptional |
contiguous_() |
Stride |
contiguous_(BoolOptional setter) |
boolean |
equals(Stride b) |
Stride |
getPointer(long i) |
boolean |
isComplete() |
Stride |
position(long position) |
SizeTOptional |
stride_() |
Stride |
stride_(SizeTOptional setter) |
SizeTOptional |
stride_index_() |
Stride |
stride_index_(SizeTOptional setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Stride(Pointer p)
Pointer(Pointer)
.public Stride(long size)
Pointer.position(long)
.public Stride()
public Stride(@Const @ByRef SizeTOptional stride_index, @ByVal BoolOptional contiguous, @Const @ByRef SizeTOptional stride)
public Stride getPointer(long i)
getPointer
in class Pointer
@ByRef public SizeTOptional stride_index_()
public Stride stride_index_(SizeTOptional setter)
@ByRef public BoolOptional contiguous_()
public Stride contiguous_(BoolOptional setter)
@ByRef public SizeTOptional stride_()
public Stride stride_(SizeTOptional setter)
Copyright © 2024. All rights reserved.