darknet  v3
crop_layer.h
Go to the documentation of this file.
1 #ifndef CROP_LAYER_H
2 #define CROP_LAYER_H
3 
4 #include "image.h"
5 #include "layer.h"
6 #include "network.h"
7 
8 typedef layer crop_layer;
9 
11 crop_layer make_crop_layer(int batch, int h, int w, int c, int crop_height, int crop_width, int flip, float angle, float saturation, float exposure);
13 void resize_crop_layer(layer *l, int w, int h);
14 
15 #ifdef GPU
17 #endif
18 
19 #endif
20 
void forward_crop_layer(const crop_layer l, network net)
Definition: crop_layer.c:67
void forward_crop_layer_gpu(crop_layer layer, network net)
image get_crop_image(crop_layer l)
Definition: crop_layer.c:5
void resize_crop_layer(layer *l, int w, int h)
Definition: crop_layer.c:48
Definition: darknet.h:512
layer crop_layer
Definition: crop_layer.h:8
crop_layer make_crop_layer(int batch, int h, int w, int c, int crop_height, int crop_width, int flip, float angle, float saturation, float exposure)
Definition: crop_layer.c:16
Definition: darknet.h:119