Multiply constant folder

operators.val.multiply_constant_folder(client, infolder='/infolder', outfolder='/outfolder', dtype='float', constant=1.0, worker_instance_type='x2large', manager_instance_type='small', extension_infile='.npy', extension_outfile='.npy', skip_existing_files=False)
Multiply a constant value from a matrix.

multiply_constant_folder(client,
infolder=’/infolder’,
outfolder=’/outfolder’,
dtype=’float’,
constant=1.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 multiply (default: 1.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