Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
clip.h
Go to the documentation of this file.
1#ifndef __NN_CLIP_H
2#define __NN_CLIP_H
3
4#include <assert.h>
5
6#include "tensor.h"
7#include "ops/maximum1.h"
8#include "ops/minimum1.h"
9
10
22void NN_clip(Tensor *y, const Tensor *x, float min, float max);
23
24void NN_clip_inplace(Tensor *x, float min, float max);
25
26
27#endif // __NN_CLIP_H
void NN_clip(Tensor *y, const Tensor *x, float min, float max)
void NN_clip_inplace(Tensor *x, float min, float max)
Definition: tensor.h:36