@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class IntType extends NumberType
Type.TypePtr
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IntType(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Type rhs) |
static IntTypePtr |
getIntTypePtr() |
boolean |
isSubtypeOfExt(Type rhs,
Pointer why_not) |
static torch.TypeKind |
Kind() |
BytePointer |
str() |
getNumberIntTypePtr
annotation_str, annotation_str, containedType, containedTypes, containedTypeSize, createWithContained, hasFreeVariables, is_module, isSubtypeOf, isUnionType, kind, repr_str, requires_grad, withContained
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 IntType(Pointer p)
Pointer(Pointer)
.@Cast(value="bool") public boolean equals(@Const @ByRef Type rhs)
equals
in class NumberType
@StdString public BytePointer str()
str
in class NumberType
@Cast(value="bool") public boolean isSubtypeOfExt(@Const @ByRef Type rhs, @Cast(value="std::ostream*") Pointer why_not)
isSubtypeOfExt
in class NumberType
@MemberGetter public static torch.TypeKind Kind()
@ByVal @Name(value="get") public static IntTypePtr getIntTypePtr()
Copyright © 2024. All rights reserved.