@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class SugaredTupleValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SugaredTupleValue(Pointer p)
Pointer cast constructor.
|
SugaredTupleValue(SharedSugaredValueVector tup) |
Modifier and Type | Method and Description |
---|---|
SharedSugaredValueVector |
asTuple(SourceRange loc,
GraphFunction m) |
SharedSugaredValueVector |
asTuple(SourceRange loc,
GraphFunction m,
SizeTOptional size_hint) |
Value |
asValue(SourceRange loc,
GraphFunction m) |
SugaredValue |
getitem(SourceRange loc,
GraphFunction m,
Value idx) |
SugaredValue |
getitem(SourceRange loc,
GraphFunction m,
Value idx,
Type.TypePtr type_hint) |
SugaredValue |
iter(SourceRange loc,
GraphFunction m) |
BytePointer |
kind() |
LongOptional |
staticLen() |
SharedSugaredValueVector |
tup_() |
SugaredTupleValue |
tup_(SharedSugaredValueVector setter) |
asTupleValue, asType, attr, attr, hasAttr, hasAttr, len, setAttr, setAttr, shouldEmitUnrolled
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 SugaredTupleValue(Pointer p)
Pointer(Pointer)
.public SugaredTupleValue(@ByVal SharedSugaredValueVector tup)
@ByVal public SharedSugaredValueVector asTuple(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @Const @ByRef(nullValue="c10::optional<size_t>{}") SizeTOptional size_hint)
asTuple
in class SugaredValue
@ByVal public SharedSugaredValueVector asTuple(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
asTuple
in class SugaredValue
public Value asValue(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
asValue
in class SugaredValue
@StdString public BytePointer kind()
kind
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue getitem(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, Value idx, @ByVal(nullValue="c10::TypePtr(nullptr)") Type.TypePtr type_hint)
getitem
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue getitem(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, Value idx)
getitem
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue iter(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
iter
in class SugaredValue
@ByVal public LongOptional staticLen()
staticLen
in class SugaredValue
@ByRef public SharedSugaredValueVector tup_()
public SugaredTupleValue tup_(SharedSugaredValueVector setter)
Copyright © 2024. All rights reserved.