@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class Argument extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Argument() |
Argument(Argument rhs) |
Argument(BytePointer name,
Type.TypePtr type,
IntOptional N,
IValueOptional default_value,
boolean kwarg_only,
AliasInfoOptional alias_info) |
Argument(BytePointer name,
Type.TypePtr fake_type,
Type.TypePtr real_type) |
Argument(BytePointer name,
Type.TypePtr fake_type,
Type.TypePtr real_type,
IntOptional N,
IValueOptional default_value,
boolean kwarg_only,
AliasInfoOptional alias_info) |
Argument(long size)
Native array allocator.
|
Argument(Pointer p)
Pointer cast constructor.
|
Argument(String name,
Type.TypePtr type,
IntOptional N,
IValueOptional default_value,
boolean kwarg_only,
AliasInfoOptional alias_info) |
Argument(String name,
Type.TypePtr fake_type,
Type.TypePtr real_type) |
Argument(String name,
Type.TypePtr fake_type,
Type.TypePtr real_type,
IntOptional N,
IValueOptional default_value,
boolean kwarg_only,
AliasInfoOptional alias_info) |
Modifier and Type | Method and Description |
---|---|
AliasInfo |
alias_info() |
Argument |
cloneWithType(Type.TypePtr new_type) |
IValueOptional |
default_value() |
BytePointer |
formatTypeMismatchMsg(BytePointer actual_type) |
String |
formatTypeMismatchMsg(String actual_type) |
Argument |
getPointer(long i) |
boolean |
is_inferred_type() |
boolean |
is_out() |
boolean |
isBackwardCompatibleWith(Argument old) |
boolean |
isBackwardCompatibleWith(Argument old,
Pointer why_not) |
boolean |
isForwardCompatibleWith(Argument old) |
boolean |
isForwardCompatibleWith(Argument old,
Pointer why_not) |
boolean |
kwarg_only() |
IntOptional |
N() |
BytePointer |
name() |
Argument |
position(long position) |
Argument |
put(Argument rhs) |
Type.TypePtr |
real_type() |
Type.TypePtr |
type() |
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 Argument(Pointer p)
Pointer(Pointer)
.public Argument(long size)
Pointer.position(long)
.public Argument(@StdString BytePointer name, @ByVal(nullValue="c10::TypePtr(nullptr)") Type.TypePtr type, @ByVal(nullValue="c10::optional<int32_t>(c10::nullopt)") IntOptional N, @ByVal(nullValue="c10::optional<c10::IValue>(c10::nullopt)") IValueOptional default_value, @Cast(value="bool") boolean kwarg_only, @ByVal(nullValue="c10::optional<c10::AliasInfo>(c10::nullopt)") AliasInfoOptional alias_info)
public Argument()
public Argument(@StdString String name, @ByVal(nullValue="c10::TypePtr(nullptr)") Type.TypePtr type, @ByVal(nullValue="c10::optional<int32_t>(c10::nullopt)") IntOptional N, @ByVal(nullValue="c10::optional<c10::IValue>(c10::nullopt)") IValueOptional default_value, @Cast(value="bool") boolean kwarg_only, @ByVal(nullValue="c10::optional<c10::AliasInfo>(c10::nullopt)") AliasInfoOptional alias_info)
public Argument(@StdString BytePointer name, @ByVal Type.TypePtr fake_type, @ByVal Type.TypePtr real_type, @ByVal(nullValue="c10::optional<int32_t>(c10::nullopt)") IntOptional N, @ByVal(nullValue="c10::optional<c10::IValue>(c10::nullopt)") IValueOptional default_value, @Cast(value="bool") boolean kwarg_only, @ByVal(nullValue="c10::optional<c10::AliasInfo>(c10::nullopt)") AliasInfoOptional alias_info)
public Argument(@StdString BytePointer name, @ByVal Type.TypePtr fake_type, @ByVal Type.TypePtr real_type)
public Argument(@StdString String name, @ByVal Type.TypePtr fake_type, @ByVal Type.TypePtr real_type, @ByVal(nullValue="c10::optional<int32_t>(c10::nullopt)") IntOptional N, @ByVal(nullValue="c10::optional<c10::IValue>(c10::nullopt)") IValueOptional default_value, @Cast(value="bool") boolean kwarg_only, @ByVal(nullValue="c10::optional<c10::AliasInfo>(c10::nullopt)") AliasInfoOptional alias_info)
public Argument(@StdString String name, @ByVal Type.TypePtr fake_type, @ByVal Type.TypePtr real_type)
public Argument getPointer(long i)
getPointer
in class Pointer
@StdString public BytePointer name()
@Const @ByRef public Type.TypePtr type()
@Const @ByRef public Type.TypePtr real_type()
@ByVal public IntOptional N()
@Const @ByRef public IValueOptional default_value()
@StdString public BytePointer formatTypeMismatchMsg(@StdString BytePointer actual_type)
@StdString public String formatTypeMismatchMsg(@StdString String actual_type)
@ByVal public Argument cloneWithType(@ByVal Type.TypePtr new_type)
@Cast(value="bool") public boolean isBackwardCompatibleWith(@Const @ByRef Argument old, @Cast(value="std::ostream*") Pointer why_not)
@Cast(value="bool") public boolean isBackwardCompatibleWith(@Const @ByRef Argument old)
@Cast(value="bool") public boolean isForwardCompatibleWith(@Const @ByRef Argument old, @Cast(value="std::ostream*") Pointer why_not)
Copyright © 2024. All rights reserved.