@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class ClassAttribute extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ClassAttribute(int kind,
Type.TypePtr attributeType,
String attributeName) |
ClassAttribute(Pointer p)
Pointer cast constructor.
|
ClassAttribute(torch.AttributeKind kind,
Type.TypePtr attributeType,
BytePointer attributeName) |
Modifier and Type | Method and Description |
---|---|
torch.AttributeKind |
getKind() |
BytePointer |
getName() |
Type.TypePtr |
getType() |
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 ClassAttribute(Pointer p)
Pointer(Pointer)
.public ClassAttribute(torch.AttributeKind kind, @ByVal Type.TypePtr attributeType, @StdString BytePointer attributeName)
public ClassAttribute(@Cast(value="c10::AttributeKind") int kind, @ByVal Type.TypePtr attributeType, @StdString String attributeName)
public torch.AttributeKind getKind()
@Const @ByRef public Type.TypePtr getType()
@StdString public BytePointer getName()
Copyright © 2024. All rights reserved.