Add constant
- operators.val.add_constant(client, infile='in.npy', outfile='out.npy', dtype='float', constant=0.0, instance_type='x2large')
- Add a constant value to a matrix.
- add_constant( client,infile=’in.npy’,outfile=’out.npy’,dtype=’float’,constant=0.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 add (default: 0.0)
instance_type – type of cloud instance used for processing