提交 835a4d17 编写于 作者: W wanghaoshuang

Change 'python' code block to 'text' block

上级 641df373
...@@ -74,14 +74,14 @@ The op functions is similar to how numpy.transpose works in python. ...@@ -74,14 +74,14 @@ The op functions is similar to how numpy.transpose works in python.
For example: For example:
.. code-block:: python .. code-block:: text
input = numpy.arange(6).reshape((2,3)) input = numpy.arange(6).reshape((2,3))
the input is: the input is:
array([[0, 1, 2], array([[0, 1, 2],
[3, 4, 5]]) [3, 4, 5]])
given axis is: given axis is:
...@@ -92,8 +92,8 @@ For example: ...@@ -92,8 +92,8 @@ For example:
then the output is: then the output is:
array([[0, 3], array([[0, 3],
[1, 4], [1, 4],
[2, 5]]) [2, 5]])
So, given a input tensor of shape(N, C, H, W) and the axis is {0, 2, 3, 1}, 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) the output tensor shape will be (N, H, W, C)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册