MCPcopy Create free account
hub / github.com/alibaba/nann / AsBfloat16

Function AsBfloat16

tensorflow/tensorflow/python/lib/core/bfloat16.cc:108–140  ·  view source on GitHub ↗

Converts a Python object to a bfloat16 value. Returns true on success, returns false and reports a Python error on failure.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bfloat16.ccFile · 0.85

Calls 5

PyBfloat16_CheckFunction · 0.85
PyBfloat16_Bfloat16Function · 0.85
bfloat16Class · 0.85
TfPyInt_CheckFunction · 0.85
TfPyInt_AsLongFunction · 0.85

Tested by

no test coverage detected