Home
last modified time | relevance | path

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

/external/flatbuffers/python/flatbuffers/
Dencode.py29 def GetVectorAsNumpy(numpy_type, buf, count, offset): argument
35 return np.frombuffer(buf, dtype=numpy_type, count=count, offset=offset)
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dplaceholder_with_default.py47 numpy_type = TF_TYPE_INFO[parameters["dtype"]][0]
48 input_value = np.array([[1, 0], [2, 1]], numpy_type)
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc33 char const* numpy_type_name(int numpy_type) { in numpy_type_name() argument
34 switch (numpy_type) { in numpy_type_name()
Dbfloat16.cc702 bool RegisterBfloat16Cast(int numpy_type) { in RegisterBfloat16Cast() argument
703 PyArray_Descr* descr = PyArray_DescrFromType(numpy_type); in RegisterBfloat16Cast()
707 if (PyArray_RegisterCastFunc(&NPyBfloat16_Descr, numpy_type, in RegisterBfloat16Cast()