auto_arima.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020-2021, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 namespace raft {
20 class handle_t;
21 }
22 
23 namespace ML {
24 
35 int divide_by_mask_build_index(const raft::handle_t& handle,
36  const bool* d_mask,
37  int* d_index,
38  int batch_size);
39 
53 void divide_by_mask_execute(const raft::handle_t& handle,
54  const float* d_in,
55  const bool* d_mask,
56  const int* d_index,
57  float* d_out0,
58  float* d_out1,
59  int batch_size,
60  int n_obs);
61 void divide_by_mask_execute(const raft::handle_t& handle,
62  const double* d_in,
63  const bool* d_mask,
64  const int* d_index,
65  double* d_out0,
66  double* d_out1,
67  int batch_size,
68  int n_obs);
69 void divide_by_mask_execute(const raft::handle_t& handle,
70  const int* d_in,
71  const bool* d_mask,
72  const int* d_index,
73  int* d_out0,
74  int* d_out1,
75  int batch_size,
76  int n_obs);
77 
92 void divide_by_min_build_index(const raft::handle_t& handle,
93  const float* d_matrix,
94  int* d_batch,
95  int* d_index,
96  int* h_size,
97  int batch_size,
98  int n_sub);
99 void divide_by_min_build_index(const raft::handle_t& handle,
100  const double* d_matrix,
101  int* d_batch,
102  int* d_index,
103  int* h_size,
104  int batch_size,
105  int n_sub);
106 
120 void divide_by_min_execute(const raft::handle_t& handle,
121  const float* d_in,
122  const int* d_batch,
123  const int* d_index,
124  float** hd_out,
125  int batch_size,
126  int n_sub,
127  int n_obs);
128 void divide_by_min_execute(const raft::handle_t& handle,
129  const double* d_in,
130  const int* d_batch,
131  const int* d_index,
132  double** hd_out,
133  int batch_size,
134  int n_sub,
135  int n_obs);
136 void divide_by_min_execute(const raft::handle_t& handle,
137  const int* d_in,
138  const int* d_batch,
139  const int* d_index,
140  int** hd_out,
141  int batch_size,
142  int n_sub,
143  int n_obs);
144 
160 void build_division_map(const raft::handle_t& handle,
161  const int* const* hd_id,
162  const int* h_size,
163  int* d_id_to_pos,
164  int* d_id_to_model,
165  int batch_size,
166  int n_sub);
167 
185 void merge_series(const raft::handle_t& handle,
186  const float* const* hd_in,
187  const int* d_id_to_pos,
188  const int* d_id_to_sub,
189  float* d_out,
190  int batch_size,
191  int n_sub,
192  int n_obs);
193 void merge_series(const raft::handle_t& handle,
194  const double* const* hd_in,
195  const int* d_id_to_pos,
196  const int* d_id_to_sub,
197  double* d_out,
198  int batch_size,
199  int n_sub,
200  int n_obs);
201 
202 } // namespace ML
Definition: dbscan.hpp:30
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:26