@Name(value="c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>") @NoOffset @Properties(inherit=torch.class) public class FutureSingleElementType extends SharedType
Type.TypePtr
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FutureSingleElementType(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeArrayRef |
containedTypes() |
boolean |
equals(Type rhs) |
Type.TypePtr |
getElementType() |
boolean |
hasFreeVariables() |
static torch.TypeKind |
Kind() |
annotation_str, annotation_str, containedType, containedTypeSize, createWithContained, is_module, isSubtypeOf, isSubtypeOfExt, isUnionType, kind, repr_str, requires_grad, str, 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 FutureSingleElementType(Pointer p)
Pointer(Pointer)
.@MemberGetter public static torch.TypeKind Kind()
@Const @ByRef public Type.TypePtr getElementType()
@Cast(value="bool") public boolean hasFreeVariables()
hasFreeVariables
in class Type
@ByVal public TypeArrayRef containedTypes()
containedTypes
in class Type
Copyright © 2024. All rights reserved.