MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / BF16UnsupportedWarning

Function BF16UnsupportedWarning

tensorflow/core/graph/mkl_graph_util.h:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static inline void BF16UnsupportedWarning() {
143 static absl::once_flag cpu_bfloat16_warn_once_flag;
144 absl::call_once(cpu_bfloat16_warn_once_flag, [] {
145 LOG(ERROR) << "oneDNN BFloat16 support are only on platforms with AVX512. "
146 "Falling back to default implementation if present.";
147 });
148}
149
150// Check whether opname with type T is registered as OneDNN operator
151// that can accept input tensors in OneDNN layout.

Callers 2

IsMklLayoutDependentOpFunction · 0.85
IsMklNameChangeOpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected