darknet  v3
Functions
crop_layer.c File Reference
#include "crop_layer.h"
#include "cuda.h"
#include <stdio.h>
Include dependency graph for crop_layer.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ backward_crop_layer()

void backward_crop_layer ( const crop_layer  l,
network  net 
)

Definition at line 13 of file crop_layer.c.

◆ backward_crop_layer_gpu()

void backward_crop_layer_gpu ( const crop_layer  l,
network  net 
)

Definition at line 14 of file crop_layer.c.

◆ 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.