darknet  v3
Typedefs | Functions
crop_layer.h File Reference
#include "image.h"
#include "layer.h"
#include "network.h"
Include dependency graph for crop_layer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef layer crop_layer
 

Functions

image get_crop_image (crop_layer l)
 
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)
 
void forward_crop_layer (const crop_layer l, network net)
 
void resize_crop_layer (layer *l, int w, int h)
 

Typedef Documentation

◆ crop_layer

typedef layer crop_layer

Definition at line 8 of file crop_layer.h.

Function Documentation

◆ forward_crop_layer()

void forward_crop_layer ( const crop_layer  l,
network  net 
)

Definition at line 67 of file crop_layer.c.

◆ get_crop_image()

image get_crop_image ( crop_layer  l)

Definition at line 5 of file crop_layer.c.

◆ make_crop_layer()

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 at line 16 of file crop_layer.c.

◆ resize_crop_layer()

void resize_crop_layer ( layer l,
int  w,
int  h 
)

Definition at line 48 of file crop_layer.c.