Searched refs:cast_is_safe (Results 1 – 1 of 1) sorted by relevance
476 bool RegisterBfloat16Cast(int numpy_type, bool cast_is_safe) { in RegisterBfloat16Cast() argument485 if (cast_is_safe && PyArray_RegisterCanCast(&NPyBfloat16_Descr, numpy_type, in RegisterBfloat16Cast()