@Name(value="torch::data::StatelessDataLoader<JavaCPP_javacpp_0003a_0003aDataset_0003ctorch_0003a_0003aTensor_0002ctorch_0003a_0003adata_0003a_0003aexample_0003a_0003aNoTarget_0003e,torch::data::samplers::DistributedRandomSampler>") @NoOffset @Properties(inherit=torch.class) public class JavaDistributedRandomTensorDataLoader extends JavaDistributedRandomTensorDataLoaderBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
JavaDistributedRandomTensorDataLoader(JavaTensorDataset dataset,
DistributedRandomSampler sampler,
DataLoaderOptions options)
Constructs the
StatelessDataLoader from a dataset , a sampler and
some options . |
JavaDistributedRandomTensorDataLoader(Pointer p)
Pointer cast constructor.
|
begin, end, join, options
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 JavaDistributedRandomTensorDataLoader(Pointer p)
Pointer(Pointer)
.public JavaDistributedRandomTensorDataLoader(@ByVal @Cast(value="JavaCPP_javacpp_0003a_0003aDataset_0003ctorch_0003a_0003aTensor_0002ctorch_0003a_0003adata_0003a_0003aexample_0003a_0003aNoTarget_0003e*") JavaTensorDataset dataset, @ByVal DistributedRandomSampler sampler, @ByVal DataLoaderOptions options)
StatelessDataLoader
from a dataset
, a sampler
and
some options
.Copyright © 2024. All rights reserved.