@Namespace(value="torch::data::samplers") @NoOffset @Properties(inherit=torch.class) public class BatchSize extends CustomBatchRequest
CustomBatchRequest
interface.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BatchSize(long size) |
BatchSize(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
asLong() |
long |
size_() |
BatchSize |
size_(long setter) |
long |
size()
The number of elements accessed by this index.
|
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 BatchSize(Pointer p)
Pointer(Pointer)
.@Cast(value="size_t") @NoException(value=true) public long size()
CustomBatchRequest
size
in class CustomBatchRequest
@Cast(value="size_t") @Name(value="operator size_t") @NoException(value=true) public long asLong()
public BatchSize size_(long setter)
Copyright © 2024. All rights reserved.