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
22
void
NN_clip
(
Tensor
*y,
const
Tensor
*x,
float
min,
float
max);
23
24
void
NN_clip_inplace
(
Tensor
*x,
float
min,
float
max);
25
26
27
#endif
// __NN_CLIP_H
NN_clip
void NN_clip(Tensor *y, const Tensor *x, float min, float max)
NN_clip_inplace
void NN_clip_inplace(Tensor *x, float min, float max)
maximum1.h
minimum1.h
Tensor
Definition:
tensor.h:36
tensor.h
nn
functional
clip.h
Generated by
1.9.5