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

Function _array_vals

numpy/array_api/tests/test_elementwise_functions.py:86–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 def _array_vals():
87 for d in _integer_dtypes:
88 yield asarray(1, dtype=d)
89 for d in _boolean_dtypes:
90 yield asarray(False, dtype=d)
91 for d in _floating_dtypes:
92 yield asarray(1.0, dtype=d)
93
94 for x in _array_vals():
95 for func_name, types in elementwise_function_input_types.items():

Callers 1

test_function_typesFunction · 0.70

Calls 1

asarrayFunction · 0.50

Tested by

no test coverage detected