@Namespace(value="torch::utils") @NoOffset @Properties(inherit=torch.class) public class SchemaInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SchemaInfo(BytePointer signature) |
SchemaInfo(FunctionSchema schema) |
SchemaInfo(Pointer p)
Pointer cast constructor.
|
SchemaInfo(String signature) |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentValue(BytePointer name,
IValue value) |
void |
addArgumentValue(String name,
IValue value) |
void |
addArgumentValues(IValueOptionalVector value_list) |
void |
addArgumentValues(StringIValueMap values) |
boolean |
has_argument(BytePointer name) |
boolean |
has_argument(String name) |
boolean |
hasInputArgumentNamed(BytePointer name) |
boolean |
hasInputArgumentNamed(String name) |
boolean |
is_mutable() |
boolean |
is_mutable(BytePointer name) |
boolean |
is_mutable(SchemaArgument argument) |
boolean |
is_mutable(String name) |
boolean |
is_nondeterministic() |
boolean |
may_alias(SchemaArgument lhs,
SchemaArgument rhs) |
boolean |
may_contain_alias(SchemaArgument lhs,
SchemaArgument rhs) |
boolean |
may_contain_alias(SchemaArgument lhs,
SchemaArgument rhs,
boolean bidirectional) |
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 SchemaInfo(Pointer p)
Pointer(Pointer)
.public SchemaInfo(@ByVal FunctionSchema schema)
public SchemaInfo(@Cast(value="const char*") BytePointer signature)
public SchemaInfo(String signature)
@Cast(value="bool") public boolean is_mutable(@Const @ByRef SchemaArgument argument)
@Cast(value="bool") public boolean is_mutable(@StringView BytePointer name)
@Cast(value="bool") public boolean is_mutable(@StringView String name)
@Cast(value="bool") public boolean has_argument(@StringView BytePointer name)
@Cast(value="bool") public boolean has_argument(@StringView String name)
@Cast(value="bool") public boolean may_alias(@Const @ByRef SchemaArgument lhs, @Const @ByRef SchemaArgument rhs)
@Cast(value="bool") public boolean may_contain_alias(@Const @ByRef SchemaArgument lhs, @Const @ByRef SchemaArgument rhs, @Cast(value="bool") boolean bidirectional)
@Cast(value="bool") public boolean may_contain_alias(@Const @ByRef SchemaArgument lhs, @Const @ByRef SchemaArgument rhs)
public void addArgumentValue(@StdString BytePointer name, @Const @ByRef IValue value)
public void addArgumentValue(@StdString String name, @Const @ByRef IValue value)
public void addArgumentValues(@Const @ByRef IValueOptionalVector value_list)
public void addArgumentValues(@Const @ByRef StringIValueMap values)
@Cast(value="bool") public boolean hasInputArgumentNamed(@StdString BytePointer name)
@Cast(value="bool") public boolean hasInputArgumentNamed(@StdString String name)
Copyright © 2024. All rights reserved.