@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class SimpleValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SimpleValue(Pointer p)
Pointer cast constructor.
|
SimpleValue(Value value) |
asTupleValue, asType, shouldEmitUnrolled, staticLen
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 SimpleValue(Pointer p)
Pointer(Pointer)
.public SimpleValue(Value value)
@StdString public BytePointer kind()
kind
in class SugaredValue
public Value asValue(@Const @ByRef SourceRange range, @ByRef GraphFunction m)
asValue
in class SugaredValue
@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
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue attr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString BytePointer field)
attr
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue attr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString String field)
attr
in class SugaredValue
@Cast(value="bool") public boolean hasAttr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString BytePointer field)
hasAttr
in class SugaredValue
@Cast(value="bool") public boolean hasAttr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString String field)
hasAttr
in class SugaredValue
public void setAttr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString BytePointer field, Value newValue)
setAttr
in class SugaredValue
public void setAttr(@Const @ByRef SourceRange loc, @ByRef GraphFunction m, @StdString String field, Value newValue)
setAttr
in class SugaredValue
@SharedPtr(value="torch::jit::SugaredValue") @ByVal public SugaredValue iter(@Const @ByRef SourceRange loc, @ByRef GraphFunction m)
iter
in class SugaredValue
public Value getValue()
public 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
Copyright © 2024. All rights reserved.