MCPcopy Create free account
hub / github.com/apache/fory / int32_array

Function int32_array

benchmarks/python/benchmark.py:76–77  ·  view source on GitHub ↗
(values: Iterable[int])

Source from the content-addressed store, hash-verified

74
75
76def int32_array(values: Iterable[int]) -> np.ndarray:
77 return np.array(list(values), dtype=np.int32)
78
79
80def int64_array(values: Iterable[int]) -> np.ndarray:

Callers 2

create_sampleFunction · 0.85
from_pb_sampleFunction · 0.85

Calls 2

listFunction · 0.50
arrayMethod · 0.45

Tested by

no test coverage detected