mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype > Struct Template Reference

transform contiguous indices of the source tensor to indices of the transposed tensor. input: Tensor<Device, k>: ishape output: Tensor<Device, k>: oshape = ishape More...

#include <transpose.h>

Inheritance diagram for mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >:
Inheritance graph
Collaboration diagram for mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >:
Collaboration graph

Public Member Functions

 TransposeIndicesExp (const SrcExp &src_indices, Shape< dimsrc > src_shape, Shape< dimsrc > axes)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::Exp< TransposeIndicesExp< SrcExp, DType, dimsrc, etype >, DType, etype >
const TransposeIndicesExp< SrcExp, DType, dimsrc, etype > & self (void) const
 
TransposeIndicesExp< SrcExp, DType, dimsrc, etype > * ptrself (void)
 

Public Attributes

const SrcExp & src_indices_
 source expression More...
 
Shape< dimsrc > src_shape_
 
const Shape< dimsrc > axes_
 
Shape< dimsrc > src_in_dst_stride_
 

Detailed Description

template<typename SrcExp, typename DType, int dimsrc, int etype>
struct mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >

transform contiguous indices of the source tensor to indices of the transposed tensor. input: Tensor<Device, k>: ishape output: Tensor<Device, k>: oshape = ishape

Template Parameters
SrcExptype of source expression
DTypethe type of elements
dimsrcsource dimension
etypesource type

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int dimsrc, int etype>
mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >::TransposeIndicesExp ( const SrcExp &  src_indices,
Shape< dimsrc >  src_shape,
Shape< dimsrc >  axes 
)
inlineexplicit

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int dimsrc, int etype>
const Shape<dimsrc> mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >::axes_
template<typename SrcExp, typename DType, int dimsrc, int etype>
Shape<dimsrc> mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >::src_in_dst_stride_
template<typename SrcExp, typename DType, int dimsrc, int etype>
const SrcExp& mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >::src_indices_

source expression

template<typename SrcExp, typename DType, int dimsrc, int etype>
Shape<dimsrc> mshadow::expr::TransposeIndicesExp< SrcExp, DType, dimsrc, etype >::src_shape_

The documentation for this struct was generated from the following file: