Medial Code Documentation
|
Copyright 2019-2023 by XGBoost Contributors. More...
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <map>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include "../common/bitfield.h"
#include "../common/common.h"
#include "../common/error_msg.h"
#include "xgboost/base.h"
#include "xgboost/data.h"
#include "xgboost/json.h"
#include "xgboost/linalg.h"
#include "xgboost/logging.h"
#include "xgboost/span.h"
Go to the source code of this file.
Data Structures | |
struct | xgboost::ArrayInterfaceErrors |
class | xgboost::ArrayInterfaceHandler |
Utilities for consuming array interface. More... | |
struct | xgboost::ToDType< float > |
struct | xgboost::ToDType< double > |
struct | xgboost::ToDType< T, std::enable_if_t< std::is_same< T, long double >::value &&sizeof(long double)==16 > > |
struct | xgboost::ToDType< uint8_t > |
struct | xgboost::ToDType< uint16_t > |
struct | xgboost::ToDType< uint32_t > |
struct | xgboost::ToDType< uint64_t > |
struct | xgboost::ToDType< int8_t > |
struct | xgboost::ToDType< int16_t > |
struct | xgboost::ToDType< int32_t > |
struct | xgboost::ToDType< int64_t > |
class | xgboost::ArrayInterface< D, allow_mask > |
A type erased view over array_interface protocol defined by numpy. More... | |
struct | xgboost::TypedIndex< T, D > |
Helper for type casting. More... | |
Namespaces | |
namespace | xgboost |
namespace of xgboost | |
Functions | |
template<std::int32_t D, typename Fn > | |
void | xgboost::DispatchDType (ArrayInterface< D > const array, std::int32_t device, Fn fn) |
template<int32_t D> | |
void | xgboost::CheckArrayInterface (StringView key, ArrayInterface< D > const &array) |
Copyright 2019-2023 by XGBoost Contributors.
View of array_interface