PCAR

Usage

python3 pcar_generate_model.py -i <input_dim> -o <output_dim> -p <process_id> -pool <pool_size>

Parameter

<input_dim>: feature vector dimension (D) before dimension reduction.

<output_dim>: feature vector dimension (D) after dimension reduction.

<process_id>: ID of the process for batch generating operator multi-process scheduling tasks.

<pool_size>: size of the process pool for multi-process scheduling of operators generated in batches.

Description

Run the command to obtain a group of operator model files for dimension reduction. You need to modify the parameters in the command.

Restrictions

  • 0 < output_dim ≤ input_dim ≤ 512. In higher dimensions, operators may fail to be generated due to memory limitations.
  • 0 ≤ pool_size ≤ 32