@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class StringType extends Type
Type.TypePtr
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StringType(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
annotation_str_impl() |
BytePointer |
annotation_str_impl(TypePrinter printer) |
boolean |
equals(Type rhs) |
static StringTypePtr |
get() |
static torch.TypeKind |
Kind() |
BytePointer |
str() |
annotation_str, annotation_str, containedType, containedTypes, containedTypeSize, createWithContained, hasFreeVariables, is_module, isSubtypeOf, isSubtypeOfExt, 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 StringType(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer str()
@StdString public BytePointer annotation_str_impl(@ByVal(nullValue="c10::TypePrinter(nullptr)") TypePrinter printer)
@StdString public BytePointer annotation_str_impl()
@MemberGetter public static torch.TypeKind Kind()
@ByVal public static StringTypePtr get()
Copyright © 2024. All rights reserved.