Sliced assign constant

operators.val.sliced_assign_constant(client, file_in='file1.npy', file_out='values.txt', indices=':', constant=0.0, instance_type='x2large')

sliced_assign_constant( client,
file_in=’file1.npy’,
file_out=’values.txt’,
indices=’:’,
constant=0.0,
instance_type=’x2large’ )
Parameters:
  • file_in – input file [.txt or .npy]

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

  • indices – indices to slice

  • constant – constant value to assign

  • instance_type – type of cloud instance used for processing