@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class BuiltinModule extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BuiltinModule(BytePointer name) |
BuiltinModule(BytePointer name,
LongOptional version) |
BuiltinModule(Pointer p)
Pointer cast constructor.
|
BuiltinModule(String name) |
BuiltinModule(String name,
LongOptional version) |
Modifier and Type | Method and Description |
---|---|
SugaredValue |
attr(SourceRange loc,
GraphFunction m,
BytePointer field) |
SugaredValue |
attr(SourceRange loc,
GraphFunction m,
String field) |
BytePointer |
kind() |
asTuple, asTuple, asTupleValue, asType, asValue, getitem, getitem, hasAttr, hasAttr, iter, 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 BuiltinModule(Pointer p)
Pointer(Pointer)
.public BuiltinModule(@StdString BytePointer name, @ByVal(nullValue="c10::optional<int64_t>(at::nullopt)") LongOptional version)
public BuiltinModule(@StdString BytePointer name)
public BuiltinModule(@StdString String name, @ByVal(nullValue="c10::optional<int64_t>(at::nullopt)") LongOptional version)
public BuiltinModule(@StdString String name)
@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
Copyright © 2024. All rights reserved.