IsPAI tells if we are using PAI platform currently
()
| 81 | |
| 82 | // IsPAI tells if we are using PAI platform currently |
| 83 | func IsPAI() bool { |
| 84 | return os.Getenv("SQLFLOW_submitter") == "pai" || os.Getenv("SQLFLOW_submitter") == "alisa" |
| 85 | } |
| 86 | |
| 87 | func setDefaultOptimizer(trainStmt *ir.TrainStmt, optimizerParamName string) { |
| 88 | // TODO(shendiaomo): Try to get the default value from the python `inspect` module instead of hard coding |
no outgoing calls
no test coverage detected