Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
tf: layers: yolo_layer: correct docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hhk7734 committed Feb 27, 2021
1 parent 37fa5db commit 3d31292
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions py_src/yolov4/tf/layers/yolo_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def __init__(self, metalayer, metanet):
@tf.function
def _coords_0(x, training):
"""
@param `x`: Dim(height, width, height, channels)
@param `x`: Dim(batch, height, width, channels)
@return: Dim(height, width, height, channels)
@return: Dim(batch, height, width, channels)
xy: logistic, scale
wh: raw or exp(training)
oc: logistic
Expand Down Expand Up @@ -82,9 +82,9 @@ def _coords_0(x, training):
@tf.function
def _coords_1(x, training):
"""
@param `x`: Dim(height, width, height, channels)
@param `x`: Dim(batch, height, width, channels)
@return: Dim(height, width, height, channels)
@return: Dim(batch, height, width, channels)
xy: scale
wh: raw or pow(training)
oc: raw
Expand Down Expand Up @@ -128,8 +128,8 @@ def _coords_1(x, training):

def call(self, x, training=False):
"""
@param `x`: Dim(height, width, height, channels)
@param `x`: Dim(batch, height, width, channels)
@return: Dim(height, width, height, channels)
@return: Dim(batch, height, width, channels)
"""
return self._yolo_function(x, training)

0 comments on commit 3d31292

Please sign in to comment.