@Name(value="torch::data::StatelessDataLoader<torch::data::datasets::MapDataset<torch::data::datasets::MNIST,torch::data::transforms::Stack<torch::data::Example<torch::Tensor,torch::Tensor> > >,torch::data::samplers::RandomSampler>") @NoOffset @Properties(inherit=torch.class) public class MNISTRandomDataLoader extends MNISTRandomDataLoaderBase
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MNISTRandomDataLoader(MNISTMapDataset dataset,
RandomSampler sampler,
DataLoaderOptions options)
Constructs the
StatelessDataLoader from a dataset , a sampler and
some options . |
MNISTRandomDataLoader(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 MNISTRandomDataLoader(Pointer p)
Pointer(Pointer)
.public MNISTRandomDataLoader(@ByVal MNISTMapDataset dataset, @ByVal RandomSampler sampler, @ByVal DataLoaderOptions options)
StatelessDataLoader
from a dataset
, a sampler
and
some options
.Copyright © 2024. All rights reserved.