2023-08-29 16:06:52 +08:00
|
|
|
#pragma once
|
|
|
|
#include "operators/unary.h"
|
|
|
|
#include "utils/small_array.h"
|
|
|
|
|
|
|
|
namespace infini {
|
2023-09-14 10:45:57 +08:00
|
|
|
void whereKernel(const float *inputX, const float *inputY,
|
|
|
|
const uint8_t *condition, float *output, int nDims,
|
2023-11-24 09:24:25 +08:00
|
|
|
int outputsize, SmallArray inputXShape, SmallArray inputYShape,
|
|
|
|
SmallArray conditionShape, SmallArray outputShape, int xSize,
|
|
|
|
int ySize, int cSize);
|
2023-08-29 16:06:52 +08:00
|
|
|
|
|
|
|
}; // namespace infini
|