Welcome to TensorToolbox’s documentation!

Contents:

mpi_map.mpi_map(f, x, params, procs)

This function applies the function f to the x inputs on procs processors.

Parameters:
  • f (str) – a marshallable function
  • x (list) – list of inputs to be passed (pickable)
  • params – parameters to be passed to the function (pickable)
  • procs (int) – number of processors to be used
mpi_map.mpi_map_code(func_code, x, params, procs)

This function applies the function in func_code to the x inputs on procs processors.

Parameters:
  • func_code (str) – String containing the marshalled version of the function
  • x (list) – list of inputs to be passed (pickable)
  • params – parameters to be passed to the function (pickable)
  • procs (int) – number of processors to be used

Indices and tables

Table Of Contents

This Page