Sum

operators.val.sum(client, infile='in.npy', outfile='out.npy', dtype='float', axis=-1, instance_type='x2large')
Sum all values of a matrix.

sum( client,
infile=’in.npy’,
outfile=’out.npy’,
dtype=’float’,
axis=-1,
instance_type=’x2large’ )
Parameters:
  • infile – Input file path

  • outfile – Output file path

  • dtype – Data type of the matrix (default: float)

  • axis – axis to sum [default -1: no axis is used]

  • instance_type – type of cloud instance used for processing