other.conf 676 B

1234567891011
  1. # Catboost
  2. BUILD_CATBOOST_SCRIPT=build/scripts/build_catboost.py
  3. ### @usage: BUILD_CATBOOST(cbmodel cbname)
  4. ###
  5. ### Generate catboost model and access code.
  6. ### cbmodel - CatBoost model file name (*.cmb).
  7. ### cbname - name for a variable (of NCatboostCalcer::TCatboostCalcer type) to be available in CPP code.
  8. ### CatBoost specific macro.
  9. macro BUILD_CATBOOST(CbModel, CbName) {
  10. .CMD=$YMAKE_PYTHON ${input:BUILD_CATBOOST_SCRIPT} build_cb_f $ARCADIA_ROOT $ARCH_TOOL ${input:CbModel} $CbName ${output;pre=cb.:CbName.cpp} ${output;hide;pre=CB_External_;suf=.rodata:CbName} ${output_include;hide:"kernel/catboost/catboost_calcer.h"} ${kv;hide:"p CB"} ${kv;hide:"pc yellow"}
  11. }