auto_arima.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2021, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
8 namespace raft {
9 class handle_t;
10 }
11 
12 namespace ML {
13 
24 int divide_by_mask_build_index(const raft::handle_t& handle,
25  const bool* d_mask,
26  int* d_index,
27  int batch_size);
28 
42 void divide_by_mask_execute(const raft::handle_t& handle,
43  const float* d_in,
44  const bool* d_mask,
45  const int* d_index,
46  float* d_out0,
47  float* d_out1,
48  int batch_size,
49  int n_obs);
50 void divide_by_mask_execute(const raft::handle_t& handle,
51  const double* d_in,
52  const bool* d_mask,
53  const int* d_index,
54  double* d_out0,
55  double* d_out1,
56  int batch_size,
57  int n_obs);
58 void divide_by_mask_execute(const raft::handle_t& handle,
59  const int* d_in,
60  const bool* d_mask,
61  const int* d_index,
62  int* d_out0,
63  int* d_out1,
64  int batch_size,
65  int n_obs);
66 
81 void divide_by_min_build_index(const raft::handle_t& handle,
82  const float* d_matrix,
83  int* d_batch,
84  int* d_index,
85  int* h_size,
86  int batch_size,
87  int n_sub);
88 void divide_by_min_build_index(const raft::handle_t& handle,
89  const double* d_matrix,
90  int* d_batch,
91  int* d_index,
92  int* h_size,
93  int batch_size,
94  int n_sub);
95 
109 void divide_by_min_execute(const raft::handle_t& handle,
110  const float* d_in,
111  const int* d_batch,
112  const int* d_index,
113  float** hd_out,
114  int batch_size,
115  int n_sub,
116  int n_obs);
117 void divide_by_min_execute(const raft::handle_t& handle,
118  const double* d_in,
119  const int* d_batch,
120  const int* d_index,
121  double** hd_out,
122  int batch_size,
123  int n_sub,
124  int n_obs);
125 void divide_by_min_execute(const raft::handle_t& handle,
126  const int* d_in,
127  const int* d_batch,
128  const int* d_index,
129  int** hd_out,
130  int batch_size,
131  int n_sub,
132  int n_obs);
133 
149 void build_division_map(const raft::handle_t& handle,
150  const int* const* hd_id,
151  const int* h_size,
152  int* d_id_to_pos,
153  int* d_id_to_model,
154  int batch_size,
155  int n_sub);
156 
174 void merge_series(const raft::handle_t& handle,
175  const float* const* hd_in,
176  const int* d_id_to_pos,
177  const int* d_id_to_sub,
178  float* d_out,
179  int batch_size,
180  int n_sub,
181  int n_obs);
182 void merge_series(const raft::handle_t& handle,
183  const double* const* hd_in,
184  const int* d_id_to_pos,
185  const int* d_id_to_sub,
186  double* d_out,
187  int batch_size,
188  int n_sub,
189  int n_obs);
190 
191 } // namespace ML
Definition: dbscan.hpp:18
void build_division_map(const raft::handle_t &handle, const int *const *hd_id, const int *h_size, int *d_id_to_pos, int *d_id_to_model, int batch_size, int n_sub)
void divide_by_min_execute(const raft::handle_t &handle, const float *d_in, const int *d_batch, const int *d_index, float **hd_out, int batch_size, int n_sub, int n_obs)
int divide_by_mask_build_index(const raft::handle_t &handle, const bool *d_mask, int *d_index, int batch_size)
void divide_by_min_build_index(const raft::handle_t &handle, const float *d_matrix, int *d_batch, int *d_index, int *h_size, int batch_size, int n_sub)
void divide_by_mask_execute(const raft::handle_t &handle, const float *d_in, const bool *d_mask, const int *d_index, float *d_out0, float *d_out1, int batch_size, int n_obs)
void merge_series(const raft::handle_t &handle, const float *const *hd_in, const int *d_id_to_pos, const int *d_id_to_sub, float *d_out, int batch_size, int n_sub, int n_obs)
Definition: dbscan.hpp:14