MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / convert

Method convert

utils/Utils.h:285–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283private:
284 template <typename U = T>
285 inline typename std::enable_if<std::is_same<U, bfloat16>::value, bfloat16>::type convert(float x)
286 {
287 return bfloat16(x, _portable);
288 }
289
290 template <typename U = T>
291 inline typename std::enable_if<!std::is_same<U, bfloat16>::value, T>::type convert(float x)

Callers

nothing calls this directly

Calls 1

bfloat16Class · 0.85

Tested by

no test coverage detected