@Name(value="torch::data::transforms::BatchTransform<std::vector<torch::data::Example<torch::Tensor,torch::Tensor> >,torch::data::Example<torch::Tensor,torch::Tensor> >") @Properties(inherit=torch.class) public class ExampleCollation extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ExampleCollation(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Example |
apply_batch(ExampleVector input_batch)
Applies the transformation to the given
input_batch . |
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 ExampleCollation(Pointer p)
Pointer(Pointer)
.@ByVal public Example apply_batch(@ByVal ExampleVector input_batch)
input_batch
.Copyright © 2024. All rights reserved.