def _init_worker(X, X_shape, X_dtype):
    """Initializer for pool for _mprotate"""
    # Using a dictionary is not strictly necessary. You can also
    # use global variables.
    mprotate_dict["X"] = X
    mprotate_dict["X_shape"] = X_shape
    mprotate_dict["X_dtype"] = X_dtype
Initializer for pool for _mprotate