@Name(value="torch::data::DataLoaderBase<torch::data::datasets::MapDataset<torch::data::datasets::SharedBatchDataset<torch::data::datasets::ChunkDataset<JavaCPP_torch_0003a_0003adata_0003a_0003adatasets_0003a_0003aChunkDataReader_0003ctorch_0003a_0003adata_0003a_0003aExample_0003ctorch_0003a_0003aTensor_0002ctorch_0003a_0003adata_0003a_0003aexample_0003a_0003aNoTarget_0003e_0002cstd_0003a_0003avector_0003ctorch_0003a_0003adata_0003a_0003aExample_0003ctorch_0003a_0003aTensor_0002ctorch_0003a_0003adata_0003a_0003aexample_0003a_0003aNoTarget_0003e_00020_0003e_00020_0003e,torch::data::samplers::RandomSampler,torch::data::samplers::RandomSampler> >,torch::data::transforms::Stack<torch::data::Example<torch::Tensor,torch::data::example::NoTarget> > >,torch::data::Example<torch::Tensor,torch::data::example::NoTarget>,size_t>") @NoOffset @Properties(inherit=torch.class) public class ChunkRandomTensorDataLoaderBase extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description | 
|---|
ChunkRandomTensorDataLoaderBase(Pointer p)
Pointer cast constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TensorExampleIterator | 
begin()
Returns an iterator into the DataLoader. 
 | 
TensorExampleIterator | 
end()
Returns a special "sentinel" iterator that compares equal with a
  non-sentinel iterator once the DataLoader is exhausted. 
 | 
void | 
join()
Joins the DataLoader's worker threads and drains internal queues. 
 | 
FullDataLoaderOptions | 
options()
Returns the options with which the DataLoader was configured. 
 | 
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, zeropublic ChunkRandomTensorDataLoaderBase(Pointer p)
Pointer(Pointer).@ByVal public TensorExampleIterator begin()
OutputIterator. See
  https://en.cppreference.com/w/cpp/named_req/OutputIterator for what this
  means. In short: you may increment the iterator and dereference it, but
  cannot go back, or step forward more than one position at a time. When the
  DataLoader is exhausted, it will compare equal with the special
  "sentinel" iterator returned by DataLoader::end(). Most of the time, you
  should only use range-for loops to loop over the DataLoader, but
  standard algorithms like std::copy(dataloader.begin(), dataloader.end(),
  output_iterator)  are supported too.@ByVal public TensorExampleIterator end()
public void join()
@Const @ByRef @NoException(value=true) public FullDataLoaderOptions options()
Copyright © 2025. All rights reserved.