Skip to content

Commit

Permalink
Updated shape documentation in GlobalAvgPool2D (Kotlin#211)
Browse files Browse the repository at this point in the history
- added emphasis
- removed redundant note comment
  • Loading branch information
dosier committed Sep 29, 2022
1 parent 71a87e8 commit a175f9b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ import org.tensorflow.op.Ops
/**
* Global average pooling operation for 2D data (images and so on).
*
* NOTE: Works with tensors which must have rank 4 (batch, height, width, channels).
* __Input shape:__ 4D tensor with shape `(batch_size, rows, cols, channels)`.
*
* Input shape: 4D tensor with shape `(batch_size, rows, cols, channels)`.
*
* Output shape: 2D tensor with shape `(batch_size, channels)`.
* __Output shape:__ 2D tensor with shape `(batch_size, channels)`.
*
* @property [name] Custom layer name.
* @constructor Creates [GlobalAvgPool2D] object.
Expand Down

0 comments on commit a175f9b

Please sign in to comment.