Skip to content

Instantly share code, notes, and snippets.

@yk-tanigawa
Created June 6, 2017 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yk-tanigawa/0bebe3095458cb6f570b76a369168d19 to your computer and use it in GitHub Desktop.
Save yk-tanigawa/0bebe3095458cb6f570b76a369168d19 to your computer and use it in GitHub Desktop.
np.array(
Parallel(
n_jobs=multiprocessing.cpu_count()
)(delayed(pre_process_main)(read_3channel_file(lead_df, i))
for i in range(batch_interval[0], batch_interval[1])),
dtype = np.float64
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment