Add constant folder
- operators.val.add_constant_folder(client, infolder='/infolder', outfolder='/outfolder', dtype='float', constant=0.0, worker_instance_type='x2large', manager_instance_type='small', extension_infile='.npy', extension_outfile='.npy', skip_existing_files=False)
- Add a constant value to a matrix.
- add_constant_folder(client,infolder=’/infolder’,outfolder=’/outfolder’,dtype=’float’,constant=0.0,worker_instance_type=’x2large’,manager_instance_type=”small”,extension_infolder=”.npy”,extension_outfolder=”.npy”,skip_existing_files = False )
- Parameters:
dtype – Data type of the matrix (default: float)
constant – Constant value to add (default: 0.0)
infolder – Input folder folder
outfolder – Output folder folder
worker_instance_type – cloud instance type of worker nodes
manager_instance_type – cloud instance type of manager node
extension_infolder – File extension of files in folder for infolder
extension_outfolder – File extension of files in folder for outfolder
skip_existing_files – skip files that already exist in the output folder