MCPcopy
hub / github.com/hyperopt/hyperopt / array_union1

Function array_union1

hyperopt/pyll/base.py:1018–1022  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1016
1017@scope.define_pure
1018def array_union1(args):
1019 s = set()
1020 for a in args:
1021 s.update(a)
1022 return np.asarray(sorted(s))
1023
1024
1025@scope.define_pure

Callers 1

array_unionFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected