@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class BFloat16 extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
BFloat16.from_bits_t |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BFloat16() |
BFloat16(float value) |
BFloat16(Pointer p)
Pointer cast constructor.
|
BFloat16(short bits,
BFloat16.from_bits_t arg1) |
Modifier and Type | Method and Description |
---|---|
float |
asFloat() |
static BFloat16.from_bits_t |
from_bits() |
short |
x() |
BFloat16 |
x(short setter) |
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 BFloat16(Pointer p)
Pointer(Pointer)
.public BFloat16()
public BFloat16(@Cast(value="unsigned short") short bits, @ByVal BFloat16.from_bits_t arg1)
public BFloat16(float value)
Copyright © 2024. All rights reserved.