提交 f3e631cd 编写于 作者: Q qiaolongfei

small update

上级 b645dfac
...@@ -4078,7 +4078,7 @@ def image_resize(input, ...@@ -4078,7 +4078,7 @@ def image_resize(input,
name=None, name=None,
resample='BILINEAR'): resample='BILINEAR'):
""" """
Resize a batch of images. **Resize a batch of images**
The input must be a tensor of the shape (num_batches, channels, in_h, in_w), The input must be a tensor of the shape (num_batches, channels, in_h, in_w),
and the resizing only applies on the last two dimensions(hight and width). and the resizing only applies on the last two dimensions(hight and width).
...@@ -4208,6 +4208,8 @@ def image_resize_short(input, out_short_len, resample='BILINEAR'): ...@@ -4208,6 +4208,8 @@ def image_resize_short(input, out_short_len, resample='BILINEAR'):
def gather(input, index): def gather(input, index):
""" """
**Gather Layer**
Output is obtained by gathering entries of the outer-most dimension Output is obtained by gathering entries of the outer-most dimension
of X indexed by `index` and concatenate them together. of X indexed by `index` and concatenate them together.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册