MCPcopy
hub / github.com/hyperopt/hyperopt / len

Method len

hyperopt/pyll/base.py:78–79  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

76 return self._new_apply("float", [as_apply(arg)], {}, o_len=None, pure=True)
77
78 def len(self, obj):
79 return self._new_apply("len", [obj], {}, o_len=None, pure=True)
80
81 def list(self, init):
82 return self._new_apply("list", [as_apply(init)], {}, o_len=None, pure=True)

Callers 5

ap_randint_samplerFunction · 0.80
ap_categorical_samplerFunction · 0.80
vectorize_stochasticFunction · 0.80
build_idxs_valsMethod · 0.80

Calls 1

_new_applyMethod · 0.95

Tested by

no test coverage detected