@Namespace(value="c10") @Properties(inherit=torch.class) public class ListType extends ListSingleElementType
Type.TypePtrPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ListType(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Type.TypePtr |
createWithContained(TypeVector contained_types) |
static Type.TypePtr |
get(BytePointer identifier,
Type.TypePtr inner) |
static Type.TypePtr |
get(String identifier,
Type.TypePtr inner) |
boolean |
isSubtypeOfExt(Type rhs,
Pointer why_not) |
static ListType |
ofBools() |
static ListType |
ofComplexDoubles() |
static ListType |
ofFloats() |
static ListType |
ofInts() |
static ListType |
ofOptionalTensors() |
static ListType |
ofStrings() |
static ListType |
ofSymInts() |
static ListType |
ofTensors() |
BytePointer |
str() |
containedTypes, equals, getElementType, hasFreeVariables, Kindannotation_str, annotation_str, containedType, containedTypeSize, is_module, isSubtypeOf, isUnionType, kind, repr_str, requires_grad, withContainedaddress, 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, zeropublic ListType(Pointer p)
Pointer(Pointer).@StdString public BytePointer str()
@ByVal public Type.TypePtr createWithContained(@ByVal TypeVector contained_types)
createWithContained in class Type@Cast(value="bool") public boolean isSubtypeOfExt(@Const @ByRef Type rhs, @Cast(value="std::ostream*") Pointer why_not)
isSubtypeOfExt in class Type@ByVal public static Type.TypePtr get(@StdString BytePointer identifier, @ByVal Type.TypePtr inner)
@ByVal public static Type.TypePtr get(@StdString String identifier, @ByVal Type.TypePtr inner)
@SharedPtr public static ListType ofTensors()
@SharedPtr public static ListType ofOptionalTensors()
@SharedPtr public static ListType ofInts()
@SharedPtr public static ListType ofSymInts()
@SharedPtr public static ListType ofFloats()
@SharedPtr public static ListType ofComplexDoubles()
@SharedPtr public static ListType ofBools()
@SharedPtr public static ListType ofStrings()
Copyright © 2024. All rights reserved.