Divide constant

operators.val.divide_constant(client, infile='in.npy', outfile='out.npy', dtype='float', constant=1.0, instance_type='x2large')
Divide a constant value from a matrix.

divide_constant( client,
infile=’in.npy’,
outfile=’out.npy’,
dtype=’float’,
constant=1.0,
instance_type=’x2large’ )
Parameters:
  • infile – Input file path

  • outfile – Output file path

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

  • constant – Constant value to divide (default: 1.0)

  • instance_type – type of cloud instance used for processing