@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class RangeValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RangeValue(Pointer p)
Pointer cast constructor.
|
RangeValue(SourceRange loc,
GraphFunction m,
ValueVector input) |
RangeValue(SourceRange loc,
GraphFunction m,
ValueVector input,
LongOptional static_len) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Value |
len(SourceRange loc,
GraphFunction m) |
LongOptional |
staticLen() |
asTuple, asTuple, asTupleValue, asType, asValue, attr, attr, hasAttr, hasAttr, setAttr, setAttr, shouldEmitUnrolledaddress, 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 RangeValue(Pointer p)
Pointer(Pointer).public RangeValue(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @ByVal ValueVector input, @ByVal(nullValue="c10::optional<int64_t>(c10::nullopt)") LongOptional static_len)
public RangeValue(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @ByVal ValueVector input)
@StdString public BytePointer kind()
kind in class SugaredValuepublic Value len(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
len 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 SugaredValueCopyright © 2024. All rights reserved.