@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class ClassValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ClassValue(ClassType type) |
ClassValue(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) |
BytePointer |
kind() |
ClassType |
type_() |
ClassValue |
type_(ClassType setter) |
asTuple, asTuple, asTupleValue, asType, asValue, getitem, getitem, hasAttr, hasAttr, iter, len, setAttr, setAttr, shouldEmitUnrolled, staticLenaddress, 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, zeropublic ClassValue(Pointer p)
Pointer(Pointer).public ClassValue(@SharedPtr(value="c10::ClassType") @ByVal ClassType type)
@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@StdString public BytePointer kind()
kind in class SugaredValue@SharedPtr(value="c10::ClassType") @ByRef public ClassType type_()
public ClassValue type_(ClassType setter)
Copyright © 2025. All rights reserved.