@Namespace(value="at::namedinference") @NoOffset @Properties(inherit=torch.class) public class TensorNames extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorNames(DimnameArrayRef names) |
TensorNames(DimnameArrayRef names,
long start,
long end) |
TensorNames(DimnameVector names) |
TensorNames(DimnameVector names,
long start,
long end) |
TensorNames(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
append(TensorName name) |
void |
checkUnique(BytePointer op_name) |
void |
checkUnique(String op_name) |
DimnameVector |
toDimnameVec() |
TensorNames |
unifyFromRightInplace(TensorNames other) |
TensorNames |
unifyFromRightInplace(TensorNames other,
BytePointer op_name) |
TensorNames |
unifyFromRightInplace(TensorNames other,
String op_name) |
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 TensorNames(Pointer p)
Pointer(Pointer)
.public TensorNames(@ByVal DimnameArrayRef names)
public TensorNames(@ByVal DimnameVector names)
public TensorNames(@ByVal DimnameArrayRef names, @Cast(value="int64_t") long start, @Cast(value="int64_t") long end)
@ByRef public TensorNames unifyFromRightInplace(@Const @ByRef TensorNames other, @Cast(value="const char*") BytePointer op_name)
@ByRef public TensorNames unifyFromRightInplace(@Const @ByRef TensorNames other)
@ByRef public TensorNames unifyFromRightInplace(@Const @ByRef TensorNames other, String op_name)
public void checkUnique(@Cast(value="const char*") BytePointer op_name)
public void checkUnique(String op_name)
public void append(@Cast(value={"","at::namedinference::TensorName&&"}) @StdMove TensorName name)
@StdMove public DimnameVector toDimnameVec()
Copyright © 2024. All rights reserved.