@NoOffset @Name(value="std::pair<std::string,torch::Tensor>") @Properties(inherit=torch.class) public class StringTensorPair extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StringTensorPair() |
StringTensorPair(BytePointer firstValue,
Tensor secondValue) |
StringTensorPair(Pointer p)
Pointer cast constructor.
|
StringTensorPair(String firstValue,
Tensor secondValue) |
Modifier and Type | Method and Description |
---|---|
BytePointer |
first() |
StringTensorPair |
first(BytePointer first) |
StringTensorPair |
first(String first) |
StringTensorPair |
put(BytePointer firstValue,
Tensor secondValue) |
StringTensorPair |
put(String firstValue,
Tensor secondValue) |
StringTensorPair |
put(StringTensorPair x) |
Tensor |
second() |
StringTensorPair |
second(Tensor second) |
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 StringTensorPair(Pointer p)
Pointer(Pointer)
.public StringTensorPair(BytePointer firstValue, Tensor secondValue)
public StringTensorPair()
@Name(value="operator =") @ByRef public StringTensorPair put(@ByRef StringTensorPair x)
@MemberGetter @StdString public BytePointer first()
public StringTensorPair first(BytePointer first)
@MemberGetter @ByRef public Tensor second()
public StringTensorPair second(Tensor second)
@MemberSetter @Index public StringTensorPair first(@StdString String first)
public StringTensorPair put(BytePointer firstValue, Tensor secondValue)
public StringTensorPair put(String firstValue, Tensor secondValue)
Copyright © 2024. All rights reserved.