Searched refs:CopyLiteralToNumpyArray (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | numpy_bridge.cc | 392 TF_RETURN_IF_ERROR(CopyLiteralToNumpyArray( in PyObjectFromXlaLiteral() 479 Status CopyLiteralToNumpyArray(int np_type, const LiteralSlice& literal, in CopyLiteralToNumpyArray() function 483 CopyLiteralToNumpyArray<bool>(literal, py_array); in CopyLiteralToNumpyArray() 486 CopyLiteralToNumpyArray<int8>(literal, py_array); in CopyLiteralToNumpyArray() 489 CopyLiteralToNumpyArray<int16>(literal, py_array); in CopyLiteralToNumpyArray() 492 CopyLiteralToNumpyArray<int32>(literal, py_array); in CopyLiteralToNumpyArray() 495 CopyLiteralToNumpyArray<int64>(literal, py_array); in CopyLiteralToNumpyArray() 498 CopyLiteralToNumpyArray<uint8>(literal, py_array); in CopyLiteralToNumpyArray() 501 CopyLiteralToNumpyArray<uint16>(literal, py_array); in CopyLiteralToNumpyArray() 504 CopyLiteralToNumpyArray<uint32>(literal, py_array); in CopyLiteralToNumpyArray() [all …]
|
D | numpy_bridge.h | 109 Status CopyLiteralToNumpyArray(int np_type, const LiteralSlice& literal, 120 void CopyLiteralToNumpyArray(const LiteralSlice& literal, in CopyLiteralToNumpyArray() function
|