def encode_inplace_jit(self, nr_samples, lengths, out):
""" Need to use this function to call the jit compiled function, as
class support via numba is disabled sice 0.12"""
encode_triangles_inplace_jit(n_binary_bits=self.n_binary_bits,
ticker_steps=self.ticker_steps,
n_inputnodes=self.n_inputnodes,
node_range=self.node_range,
nr_samples=nr_samples, lengths=lengths, out=out,
out_uint=out.view(np.uint32))
input_encoders_numba.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录