@NoOffset @Name(value="c10::optional<std::vector<torch::data::Example<torch::Tensor,torch::Tensor> > >") @Properties(inherit=torch.class) public class ExampleVectorOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ExampleVectorOptional() |
ExampleVectorOptional(ExampleVector value) |
ExampleVectorOptional(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
ExampleVector |
get() |
boolean |
has_value() |
ExampleVectorOptional |
put(ExampleVector value) |
ExampleVectorOptional |
put(ExampleVectorOptional x) |
void |
reset() |
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 ExampleVectorOptional(Pointer p)
Pointer(Pointer)
.public ExampleVectorOptional(ExampleVector value)
public ExampleVectorOptional()
@Name(value="operator =") @ByRef public ExampleVectorOptional put(@ByRef ExampleVectorOptional x)
public boolean has_value()
public void reset()
@Name(value="value") @ByRef public ExampleVector get()
@ValueSetter public ExampleVectorOptional put(@ByRef ExampleVector value)
Copyright © 2024. All rights reserved.