expand.h 878 Bytes
Newer Older
PanZezhong's avatar
PanZezhong committed
1
2
#ifndef __INFINIOP_EXPAND_API_H__
#define __INFINIOP_EXPAND_API_H__
PanZezhongQY's avatar
PanZezhongQY committed
3

PanZezhong's avatar
PanZezhong committed
4
#include "../operator_descriptor.h"
PanZezhongQY's avatar
PanZezhongQY committed
5

6
typedef struct InfiniopDescriptor *infiniopExpandDescriptor_t;
PanZezhongQY's avatar
PanZezhongQY committed
7

PanZezhong's avatar
PanZezhong committed
8
9
10
11
__C __export infiniStatus_t infiniopCreateExpandDescriptor(infiniopHandle_t handle,
                                                           infiniopExpandDescriptor_t *desc_ptr,
                                                           infiniopTensorDescriptor_t y,
                                                           infiniopTensorDescriptor_t x);
PanZezhongQY's avatar
PanZezhongQY committed
12

PanZezhong's avatar
PanZezhong committed
13
14
15
16
__C __export infiniStatus_t infiniopExpand(infiniopExpandDescriptor_t desc,
                                           void *y,
                                           void const *x,
                                           void *stream);
PanZezhongQY's avatar
PanZezhongQY committed
17

PanZezhong's avatar
PanZezhong committed
18
__C __export infiniStatus_t infiniopDestroyExpandDescriptor(infiniopExpandDescriptor_t desc);
PanZezhongQY's avatar
PanZezhongQY committed
19
20

#endif