@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class SliceValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SliceValue(Pointer p)
Pointer cast constructor.
|
SliceValue(Value start,
Value stop,
Value step) |
Modifier and Type | Method and Description |
---|---|
BytePointer |
kind() |
Value |
start() |
Value |
step() |
Value |
stop() |
asTuple, asTuple, asTupleValue, asType, asValue, attr, attr, getitem, getitem, hasAttr, hasAttr, iter, len, setAttr, setAttr, 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 SliceValue(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer kind()
kind
in class SugaredValue
public Value start()
public Value stop()
public Value step()
Copyright © 2024. All rights reserved.