From 835a4d17f221c6111251c86327636ae77ca1f812 Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Tue, 26 Dec 2017 11:48:02 +0800 Subject: [PATCH] Change 'python' code block to 'text' block --- paddle/operators/transpose_op.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/operators/transpose_op.cc b/paddle/operators/transpose_op.cc index 7b3fa8062b..b398c022b6 100644 --- a/paddle/operators/transpose_op.cc +++ b/paddle/operators/transpose_op.cc @@ -74,14 +74,14 @@ The op functions is similar to how numpy.transpose works in python. For example: - .. code-block:: python + .. code-block:: text input = numpy.arange(6).reshape((2,3)) the input is: array([[0, 1, 2], - [3, 4, 5]]) + [3, 4, 5]]) given axis is: @@ -92,8 +92,8 @@ For example: then the output is: array([[0, 3], - [1, 4], - [2, 5]]) + [1, 4], + [2, 5]]) So, given a input tensor of shape(N, C, H, W) and the axis is {0, 2, 3, 1}, the output tensor shape will be (N, H, W, C) -- GitLab