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