@Name(value="torch::data::datasets::BatchDataset<javacpp::Dataset<torch::Tensor,torch::data::example::NoTarget>,std::vector<torch::data::Example<torch::Tensor,torch::data::example::NoTarget> > >") @Properties(inherit=torch.class) public class JavaTensorBatchDataset extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
is_stateful  | 
| Constructor and Description | 
|---|
JavaTensorBatchDataset(Pointer p)
Pointer cast constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TensorExampleVector | 
get_batch(long... request)  | 
TensorExampleVector | 
get_batch(SizeTArrayRef request)
Returns a batch of data given an index. 
 | 
static boolean | 
is_stateful()  | 
SizeTOptional | 
size()
Returns the size of the dataset, or an empty std::optional if it is
  unsized. 
 | 
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 JavaTensorBatchDataset(Pointer p)
Pointer(Pointer).@MemberGetter @Cast(value="const bool") public static boolean is_stateful()
@ByVal public TensorExampleVector get_batch(@ByVal SizeTArrayRef request)
@ByVal public TensorExampleVector get_batch(@ByVal @Cast(value={"size_t*","c10::ArrayRef<size_t>","std::vector<size_t>&"}) @StdVector(value="size_t") long... request)
@ByVal public SizeTOptional size()
Copyright © 2025. All rights reserved.