darknet53_conv2d: Creates a convolutional Darknet53 unit.

Description Usage Arguments Value

View source: R/darknet53.R

Description

Creates a convolutional Darknet53 unit.

Usage

1
2
3
4
5
6
7
8
darknet53_conv2d(
  input,
  strides,
  filters,
  kernel_size,
  batch_normalization = TRUE,
  leaky_relu = TRUE
)

Arguments

input

Model or layer object.

strides

An integer or list of 2 integers, specifying the strides of the convolution along the width and height.

filters

Integer, the dimensionality of the output space (i.e. the number of output filters in the convolution).

kernel_size

An integer or list of 2 integers, specifying the width and height of the 2D convolution window. Can be a single integer to specify the same value for all spatial dimensions.

batch_normalization

Should batch normalization be used in the unit.

leaky_relu

Should leaky ReLU activation function be used in the unit.

Value

Convolutional Darknet53 unit.


maju116/platypus documentation built on Oct. 18, 2020, 9:40 a.m.