@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class ScriptTypeParser extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ScriptTypeParser() |
ScriptTypeParser(long size)
Native array allocator.
|
ScriptTypeParser(Pointer p)
Pointer cast constructor.
|
ScriptTypeParser(Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
ScriptTypeParser |
getPointer(long i) |
T_TypePtrLong_TOptional |
parseBroadcastList(Expr expr) |
IValue |
parseClassConstant(Assign assign) |
FunctionSchema |
parseSchemaFromDef(Def def,
boolean skip_self) |
Type.TypePtr |
parseType(BytePointer str) |
Type.TypePtr |
parseType(String str) |
Type.TypePtr |
parseTypeFromExpr(Expr expr) |
ScriptTypeParser |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ScriptTypeParser(Pointer p)
Pointer(Pointer)
.public ScriptTypeParser(long size)
Pointer.position(long)
.public ScriptTypeParser()
public ScriptTypeParser(@SharedPtr(value="torch::jit::Resolver") @ByVal Resolver resolver)
public ScriptTypeParser position(long position)
public ScriptTypeParser getPointer(long i)
getPointer
in class Pointer
@ByVal public Type.TypePtr parseTypeFromExpr(@Const @ByRef Expr expr)
@ByVal @Cast(value="c10::optional<std::pair<c10::TypePtr,int32_t> >*") public T_TypePtrLong_TOptional parseBroadcastList(@Const @ByRef Expr expr)
@ByVal public Type.TypePtr parseType(@StdString BytePointer str)
@ByVal public Type.TypePtr parseType(@StdString String str)
@ByVal public FunctionSchema parseSchemaFromDef(@Const @ByRef Def def, @Cast(value="bool") boolean skip_self)
Copyright © 2024. All rights reserved.