MCPcopy Create free account
hub / github.com/numpy/numpy / _show_numpy_info

Function _show_numpy_info

numpy/_pytesttester.py:36–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def _show_numpy_info():
37 import numpy as np
38
39 print("NumPy version %s" % np.__version__)
40 relaxed_strides = np.ones((10, 1), order="C").flags.f_contiguous
41 print("NumPy relaxed strides checking option:", relaxed_strides)
42 info = np.lib.utils._opt_info()
43 print("NumPy CPU features: ", (info if info else 'nothing enabled'))
44
45
46class PytestTester:

Callers 1

__call__Method · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected