本文整理了Java中water.H2O.getCloudSize()
方法的一些代码示例,展示了H2O.getCloudSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。H2O.getCloudSize()
方法的具体详情如下:
包路径:water.H2O
类名称:H2O
方法名:getCloudSize
暂无
代码示例来源:origin: h2oai/h2o-3
if (H2O.getCloudSize() != 1)
throw new IllegalArgumentException("Deep Water currently only supports execution of 1 node.");
_output._origNames = params._train.get().names();
代码示例来源:origin: ai.h2o/h2o-ext-xgboost
final void buildModel() {
if ((XGBoostModel.XGBoostParameters.Backend.auto.equals(_parms._backend) || XGBoostModel.XGBoostParameters.Backend.gpu.equals(_parms._backend)) &&
hasGPU(_parms._gpu_id) && H2O.getCloudSize() == 1 && _parms.gpuIncompatibleParams().isEmpty()) {
synchronized (XGBoostGPULock.lock(_parms._gpu_id)) {
buildModelImpl();
}
} else {
buildModelImpl();
}
}
代码示例来源:origin: ai.h2o/h2o-ext-xgboost
if (H2O.getCloudSize() > 1) {
Log.info("GPU backend not supported in distributed mode. Using CPU backend.");
} else if (! p.gpuIncompatibleParams().isEmpty()) {
代码示例来源:origin: ai.h2o/h2o-algos
if (H2O.getCloudSize() != 1)
throw new IllegalArgumentException("Deep Water currently only supports execution of 1 node.");
_output._origNames = params._train.get().names();
代码示例来源:origin: ai.h2o/h2o-ext-xgboost
error("_backend", "GPU backend (gpu_id: " + _parms._gpu_id + ") is not functional. Check CUDA_PATH and/or GPU installation.");
if (H2O.getCloudSize() > 1)
error("_backend", "GPU backend is not supported in distributed mode.");
内容来源于网络,如有侵权,请联系作者删除!