@Name(value="torch::data::Iterator<torch::data::Example<torch::Tensor,torch::data::example::NoTarget> >") @NoOffset @Properties(inherit=torch.class) public class TensorExampleIterator extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorExampleIterator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TensorExample |
access()
Returns a pointer to the current batch.
|
boolean |
equals(TensorExampleIterator other)
Compares two iterators for equality.
|
TensorExampleIterator |
increment()
Increments the iterator.
|
TensorExample |
multiply()
Returns the current batch.
|
boolean |
notEquals(TensorExampleIterator other)
Compares two iterators for inequality.
|
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 TensorExampleIterator(Pointer p)
Pointer(Pointer)
.@ByRef @Name(value="operator ++") public TensorExampleIterator increment()
@ByRef @Name(value="operator *") public TensorExample multiply()
@Name(value="operator ->") public TensorExample access()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef TensorExampleIterator other)
Copyright © 2024. All rights reserved.