MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / if

Function if

examples/cpp/decoding/layernorm_test.cc:246–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 }
245#ifdef ENABLE_BF16
246 else if (std::is_same<T, __nv_bfloat16>::value) {
247 threshold = 5e-2;
248 }
249#endif
250 else {
251 FT_LOG_ERROR("data_type should be fp32, fp16 or bf16!");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected