@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class SugaredEnumClass extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SugaredEnumClass(EnumType enum_type) |
SugaredEnumClass(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
SugaredValue |
attr(SourceRange loc,
GraphFunction m,
BytePointer field) |
SugaredValue |
attr(SourceRange loc,
GraphFunction m,
String field) |
SugaredValue |
iter(SourceRange loc,
GraphFunction m) |
BytePointer |
kind() |
asTuple, asTuple, asTupleValue, asType, asValue, getitem, getitem, hasAttr, hasAttr, len, setAttr, setAttr, shouldEmitUnrolled, staticLen
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 SugaredEnumClass(Pointer p)
Pointer(Pointer)
.public SugaredEnumClass(@SharedPtr EnumType enum_type)
@StdString public BytePointer kind()
kind
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue attr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString BytePointer field)
attr
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue attr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString String field)
attr
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue iter(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
iter
in class SugaredValue
Copyright © 2024. All rights reserved.