Chainer
v2.1.0
Installation Guide
Chainer Tutorial
Chainer Reference Manual
Core functionalities
Utilities
Assertion and Testing
Standard Function implementations
Activation functions
Array manipulations
chainer.functions.broadcast
chainer.functions.broadcast_to
chainer.functions.cast
chainer.functions.concat
chainer.functions.copy
chainer.functions.depth2space
chainer.functions.dstack
chainer.functions.expand_dims
chainer.functions.flatten
chainer.functions.fliplr
chainer.functions.flipud
chainer.functions.get_item
chainer.functions.hstack
chainer.functions.im2col
chainer.functions.pad
chainer.functions.pad_sequence
chainer.functions.permutate
chainer.functions.reshape
chainer.functions.resize_images
chainer.functions.rollaxis
chainer.functions.select_item
chainer.functions.separate
chainer.functions.space2depth
chainer.functions.spatial_transformer_grid
chainer.functions.spatial_transformer_sampler
chainer.functions.split_axis
chainer.functions.squeeze
chainer.functions.stack
chainer.functions.swapaxes
chainer.functions.tile
chainer.functions.transpose
chainer.functions.transpose_sequence
chainer.functions.vstack
chainer.functions.where
Neural network connections
Evaluation functions
Loss functions
Mathematical functions
Noise injections
Normalization functions
Spatial pooling
Utility functions
Standard Link implementations
Optimizers
Serializers
Function hooks
Weight Initializers
Dataset examples
Iterator examples
Trainer extensions
Trainer triggers
Caffe Reference Model Support
Visualization of Computational Graph
Environment variables
Upgrade Guide from v1 to v2
Contribution Guide
API Compatibility Policy
Tips and FAQs
Comparison with Other Frameworks
License
Chainer
Docs
»
Chainer Reference Manual
»
Standard Function implementations
»
chainer.functions.swapaxes
Edit on GitHub
chainer.functions.swapaxes
¶
chainer.functions.
swapaxes
(
x
,
axis1
,
axis2
)
[source]
¶
Swap two axes of a variable.
Parameters:
x
(
Variable
) – Input variable.
axis1
(
int
) – The first axis to swap.
axis2
(
int
) – The second axis to swap.
Returns:
Variable whose axes are swapped.
Return type:
Variable
Read the Docs
v: v2.1.0
Versions
latest
stable
v4.0.0b1
v4.0.0a1
v3.1.0
v3.0.0
v3
v2.1.0
v2.0.2
v1.24.0
v1.23.0
v1.22.0
v1.21.0
v1.20.0.1
v1.19.0
v1.18.0
v1.17.0
v1.16.0
v1.15.0.1
v1.14.0
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.1
v1.8.2
v1.7.2
v1.6.2.1
v1.5.1
v1.4.1
v1.3.2
v1.2.0
v1.1.2
v1.0.1
variable-document
v2-docs-cupy
simple-rtd
math-roman
fix-document
deprecate-zerograd
batch_norm_cudnn2
add-try-trainer-class-tutorial
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.