Subtract constant
- operators.val.subtract_constant(client, infile='in.npy', outfile='out.npy', dtype='float', constant=0.0, instance_type='x2large')
- Subtract a constant value from a matrix.
- subtract_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 subtract (default: 0.0)
instance_type – type of cloud instance used for processing