mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast > Struct Template Reference

broadcast Tensor1D into a higher dimension Tensor input: Tensor<Device,1>: ishape[0] output: Tensor<Device,dimdst> : oshape[dimcast] = ishape[0] More...

#include <broadcast.h>

Inheritance diagram for mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >:
Inheritance graph
Collaboration diagram for mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >:
Collaboration graph

Public Member Functions

 Broadcast1DExp (const SrcExp &src, Shape< dimdst > shape)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >, SrcExp, dimdst, DType >
const Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast > & real_self (void) const
 true self of subtype More...
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >, SrcExp, dim, DType >, DType, type::kChainer >
const MakeTensorExp< Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >, SrcExp, dim, DType > & self (void) const
 
MakeTensorExp< Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >, SrcExp, dim, DType > * ptrself (void)
 

Public Attributes

const SrcExp & src_
 source operand More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >, SrcExp, dimdst, DType >
Shape< dim > shape_
 the shape of this expression More...
 

Detailed Description

template<typename SrcExp, typename DType, int dimdst, int dimdst_m_cast>
struct mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >

broadcast Tensor1D into a higher dimension Tensor input: Tensor<Device,1>: ishape[0] output: Tensor<Device,dimdst> : oshape[dimcast] = ishape[0]

Template Parameters
SrcExptype of input expression
DTypethe type of elements
dimdsttarget tensor dimension
dimcast_m_dstdimdst - dimcast

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int dimdst, int dimdst_m_cast>
mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >::Broadcast1DExp ( const SrcExp &  src,
Shape< dimdst >  shape 
)
inline

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int dimdst, int dimdst_m_cast>
const SrcExp& mshadow::expr::Broadcast1DExp< SrcExp, DType, dimdst, dimdst_m_cast >::src_

source operand


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