Home
last modified time | relevance | path

Searched refs:CustomFloatTypeDescriptor (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A Dbfloat16.cc62 struct CustomFloatTypeDescriptor { struct
82 int CustomFloatTypeDescriptor<T>::npy_type = NPY_NOTYPE;
84 PyTypeObject* CustomFloatTypeDescriptor<T>::type_ptr = nullptr;
254 PyNumberMethods CustomFloatTypeDescriptor<T>::number_methods = {
402 PyTypeObject CustomFloatTypeDescriptor<T>::type = {
416 &CustomFloatTypeDescriptor<T>::number_methods, // tp_as_number
458 PyArray_ArrFuncs CustomFloatTypeDescriptor<T>::arr_funcs;
461 PyArray_Descr CustomFloatTypeDescriptor<T>::npy_descr = {
475 /*f=*/&CustomFloatTypeDescriptor<T>::arr_funcs,
805 if (PyArray_RegisterCastFunc(&CustomFloatTypeDescriptor<T>::npy_descr, in RegisterCustomFloatCast()
[all …]