Masked assign constant

operators.val.masked_assign_constant(client, file_values_in='file1.npy', constant=0.0, file_mask_in='file2.npy', file_values_out='values.npy', instance_type='x2large')

masked_assign_constant( client,
file_values_in=’file1.npy’,
constant=0.0,
file_mask_in=’file2.npy’,
file_values_out=’values.npy’,
instance_type=’x2large’ )
Parameters:
  • file_values_in – input file [.txt or .npy]

  • constant – constant value to assign

  • file_mask_in – input file that contains [0,1] values

  • file_values_out – output file [.txt or .npy]

  • instance_type – type of cloud instance used for processing