def pack_ieee(value):
 return np.fromstring(value.tostring(), np.ubyte).reshape((value.shape + (4,)))

def pack_ieee ( value ) : return np . fromstring ( value . tostring ( ) , np . ubyte ) . reshape ( ( value . shape + ( 4 , ) ) )
packs float ieee binary representation into 4 unsigned int8 returns pack: array packed interpolation kernel .