@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class TensorCastValue extends SugaredValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorCastValue(Pointer p)
Pointer cast constructor.
|
TensorCastValue(torch.ScalarType type,
NamedValue self) |
Modifier and Type | Method and Description |
---|---|
torch.ScalarType |
dtype_() |
TensorCastValue |
dtype_(torch.ScalarType setter) |
BytePointer |
kind() |
NamedValue |
self_() |
TensorCastValue |
self_(NamedValue setter) |
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 TensorCastValue(Pointer p)
Pointer(Pointer)
.public TensorCastValue(torch.ScalarType type, @ByVal NamedValue self)
@StdString public BytePointer kind()
kind
in class SugaredValue
public torch.ScalarType dtype_()
public TensorCastValue dtype_(torch.ScalarType setter)
@ByRef public NamedValue self_()
public TensorCastValue self_(NamedValue setter)
Copyright © 2024. All rights reserved.