@Namespace(value="torch::data::datasets") @NoOffset @Properties(inherit=torch.class) public class ChunkDatasetOptions extends Pointer
ChunkDataset
.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ChunkDatasetOptions(long preloader_count,
long batch_size) |
ChunkDatasetOptions(long preloader_count,
long batch_size,
long cache_size,
long cross_chunk_shuffle_count) |
ChunkDatasetOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
SizeTPointer |
batch_size() |
SizeTPointer |
cache_size() |
SizeTPointer |
cross_chunk_shuffle_count() |
SizeTPointer |
preloader_count() |
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 ChunkDatasetOptions(Pointer p)
Pointer(Pointer)
.public ChunkDatasetOptions(@Cast(value="size_t") long preloader_count, @Cast(value="size_t") long batch_size, @Cast(value="size_t") long cache_size, @Cast(value="size_t") long cross_chunk_shuffle_count)
@Cast(value="size_t*") @ByRef @NoException(value=true) public SizeTPointer preloader_count()
@Cast(value="size_t*") @ByRef @NoException(value=true) public SizeTPointer batch_size()
@Cast(value="size_t*") @ByRef @NoException(value=true) public SizeTPointer cache_size()
@Cast(value="size_t*") @ByRef @NoException(value=true) public SizeTPointer cross_chunk_shuffle_count()
Copyright © 2024. All rights reserved.