@Namespace(value="at::indexing") @NoOffset @Properties(inherit=torch.class) public class TensorIndex extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorIndex() |
TensorIndex(BytePointer str) |
TensorIndex(EllipsisIndexType arg0) |
TensorIndex(int integer) |
TensorIndex(long integer) |
TensorIndex(Pointer none) |
TensorIndex(Slice slice) |
TensorIndex(String str) |
TensorIndex(SymInt integer) |
TensorIndex(Tensor tensor) |
Modifier and Type | Method and Description |
---|---|
boolean |
_boolean() |
SymInt |
integer() |
boolean |
is_boolean() |
boolean |
is_ellipsis() |
boolean |
is_integer() |
boolean |
is_none() |
boolean |
is_slice() |
boolean |
is_tensor() |
Slice |
slice() |
Tensor |
tensor() |
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 TensorIndex(@ByVal(nullValue="c10::nullopt_t(at::indexing::None)") @Cast(value="c10::nullopt_t*") Pointer none)
public TensorIndex()
public TensorIndex(@ByVal EllipsisIndexType arg0)
public TensorIndex(@Cast(value="const char*") BytePointer str)
public TensorIndex(String str)
public TensorIndex(int integer)
Copyright © 2024. All rights reserved.