Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. pool.map_async(Foo.compute_async,zip(repeat(foo_instance),means,covariance)))
  2.  
  3. Class Foo:
  4.  
  5. def compute_async(foo_instance,means,covariance):
  6. return foo_instance.compute(means,covariance)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement