Medial Code Documentation
|
Data Structures | |
class | LazyLoader |
Functions | |
str | py_str (bytes x) |
bool | lazy_isinstance (Any instance, str module, str name) |
bool | is_cudf_available () |
bool | is_cupy_available () |
_T | concat (Sequence[_T] value) |
For compatibility and optional dependencies.
_T xgboost.compat.concat | ( | Sequence[_T] | value | ) |
Concatenate row-wise.
bool xgboost.compat.is_cudf_available | ( | ) |
Check cuDF package available or not
bool xgboost.compat.is_cupy_available | ( | ) |
Check cupy package available or not
bool xgboost.compat.lazy_isinstance | ( | Any | instance, |
str | module, | ||
str | name | ||
) |
Use string representation to identify a type.
str xgboost.compat.py_str | ( | bytes | x | ) |
convert c string back to python string