MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / _read32

Function _read32

neural_network/input_data.py:41–43  ·  view source on GitHub ↗
(bytestream)

Source from the content-addressed store, hash-verified

39
40
41def _read32(bytestream):
42 dt = np.dtype(np.uint32).newbyteorder(">")
43 return np.frombuffer(bytestream.read(4), dtype=dt)[0]
44
45
46@deprecated(None, "Please use tf.data to implement this functionality.")

Callers 2

_extract_imagesFunction · 0.85
_extract_labelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected