@Namespace(value="tensorflow") @NoOffset public static class tensorflow.bfloat16 extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.bfloat16.FP32 |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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 tensorflow.bfloat16 |
epsilon() |
static tensorflow.bfloat16 |
highest() |
static tensorflow.bfloat16 |
lowest() |
static short |
NAN_VALUE() |
static tensorflow.bfloat16 |
round_to_bfloat16(float v) |
static tensorflow.bfloat16 |
truncate_to_bfloat16(float v) |
short |
value() |
tensorflow.bfloat16 |
value(short value) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic bfloat16(Pointer p)
Pointer.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 public static tensorflow.bfloat16 truncate_to_bfloat16(float v)
@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()
@ByVal public static tensorflow.bfloat16 round_to_bfloat16(float v)
@ByVal public static tensorflow.bfloat16 epsilon()
@ByVal public static tensorflow.bfloat16 highest()
@ByVal public static tensorflow.bfloat16 lowest()
public tensorflow.bfloat16 value(short value)
@MemberGetter @Cast(value="const uint16_t") public static short NAN_VALUE()
Copyright © 2019. All rights reserved.