@Namespace(value="torch::jit") @Properties(inherit=torch.class) public class Resolver extends Pointer
name
.
NOTE: When adding methods, keep this an abstract class (i.e. all new methods
should be purely virtual). Resist the urge to provide a default
implementation; you should explicitly think about how each resolver would
handle the method.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Resolver()
Default native constructor.
|
Resolver(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Type.TypePtr |
resolveType(BytePointer name,
SourceRange loc) |
Type.TypePtr |
resolveType(String name,
SourceRange loc) |
SugaredValue |
resolveValue(BytePointer name,
GraphFunction m,
SourceRange loc) |
SugaredValue |
resolveValue(String name,
GraphFunction m,
SourceRange loc) |
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 Resolver()
public Resolver(Pointer p)
Pointer(Pointer)
.@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue resolveValue(@StdString BytePointer name, @ByRef GraphFunction m, @Const @ByRef SourceRange loc)
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue resolveValue(@StdString String name, @ByRef GraphFunction m, @Const @ByRef SourceRange loc)
@ByVal public Type.TypePtr resolveType(@StdString BytePointer name, @Const @ByRef SourceRange loc)
@ByVal public Type.TypePtr resolveType(@StdString String name, @Const @ByRef SourceRange loc)
Copyright © 2024. All rights reserved.