@Namespace(value="torch::jit") @Properties(inherit=torch.class) public class ArgumentInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ArgumentInfo()
Default native constructor.
|
ArgumentInfo(long size)
Native array allocator.
|
ArgumentInfo(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Type.TypePtr |
asTypePtr() |
boolean |
defined() |
Device |
device() |
int |
dim() |
ArgumentInfo |
getPointer(long i) |
ArgumentInfo |
position(long position) |
boolean |
requires_grad() |
Type.TypePtr |
toType() |
torch.ScalarType |
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, zeropublic ArgumentInfo()
public ArgumentInfo(long size)
Pointer.position(long).public ArgumentInfo(Pointer p)
Pointer(Pointer).public ArgumentInfo position(long position)
public ArgumentInfo getPointer(long i)
getPointer in class Pointerpublic int dim()
public torch.ScalarType type()
@ByVal public Type.TypePtr toType()
@ByVal @Name(value="operator c10::TypePtr") public Type.TypePtr asTypePtr()
Copyright © 2024. All rights reserved.