@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class bfloat16 extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
bfloat16.FP32 |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static short |
NAN_VALUE |
Constructor and Description |
---|
bfloat16() |
bfloat16(double val) |
bfloat16(double[] val) |
bfloat16(DoubleBuffer val) |
bfloat16(DoublePointer val) |
bfloat16(float... val) |
bfloat16(float v) |
bfloat16(FloatBuffer val) |
bfloat16(FloatPointer val) |
bfloat16(int val) |
bfloat16(long val) |
bfloat16(Pointer p)
Pointer cast constructor.
|
bfloat16(short val) |
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean() |
byte |
asByte() |
double |
asDouble() |
DoublePointer |
asDoublePointer() |
float |
asFloat() |
FloatPointer |
asFloatPointer() |
int |
asInt() |
long |
asLong() |
short |
asShort() |
static bfloat16 |
epsilon() |
static bfloat16 |
highest() |
boolean |
IsZero() |
static bfloat16 |
lowest() |
static bfloat16 |
min_positive_normal() |
static short |
NAN_VALUE() |
static bfloat16 |
round_to_bfloat16(float v) |
static bfloat16 |
truncate_to_bfloat16(float v) |
short |
value() |
bfloat16 |
value(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(float v)
public bfloat16(double val)
public bfloat16(@Cast(value="const tensorflow::complex64*") @ByRef FloatPointer val)
public bfloat16(@Cast(value="const tensorflow::complex64*") @ByRef FloatBuffer val)
public bfloat16(@Cast(value="const tensorflow::complex128*") @ByRef DoublePointer val)
public bfloat16(@Cast(value="const tensorflow::complex128*") @ByRef DoubleBuffer val)
public bfloat16(long val)
@ByVal @Cast(value="tensorflow::complex64*") @Name(value="operator tensorflow::complex64") public FloatPointer asFloatPointer()
@ByVal @Cast(value="tensorflow::complex128*") @Name(value="operator tensorflow::complex128") public DoublePointer asDoublePointer()
public bfloat16 value(short setter)
@MemberGetter @Cast(value="const uint16_t") public static short NAN_VALUE()
Copyright © 2022. All rights reserved.