Sliced assign constant folder
- operators.val.sliced_assign_constant_folder(client, folder_in='/folder_in', folder_out='/folder_out', indices=':', constant=0.0, worker_instance_type='x2large', manager_instance_type='small', extension_file_in='.npy', extension_file_out='.txt', skip_existing_files=False)
- sliced_assign_constant_folder(client,folder_in=’/folder_in’,folder_out=’/folder_out’,indices=’:’,constant=0.0,worker_instance_type=’x2large’,manager_instance_type=”small”,extension_folder_in=”.npy”,extension_folder_out=”.txt”,skip_existing_files = False )
- Parameters:
indices – indices to slice
constant – constant value to assign
folder_in – input folder [.txt or .npy]
folder_out – output folder [.txt or .npy]
worker_instance_type – cloud instance type of worker nodes
manager_instance_type – cloud instance type of manager node
extension_folder_in – File extension of files in folder for folder_in
extension_folder_out – File extension of files in folder for folder_out
skip_existing_files – skip files that already exist in the output folder