|
| | BroadcastScalarExp (const SrcExp &src, Shape< dimdst > shape) |
| | constructor More...
|
| |
Public Member Functions inherited from mshadow::expr::MakeTensorExp< BroadcastScalarExp< SrcExp, DType, dimdst >, SrcExp, dimdst, DType > |
| const BroadcastScalarExp< SrcExp, DType, dimdst > & | real_self (void) const |
| | true self of subtype More...
|
| |
Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< BroadcastScalarExp< SrcExp, DType, dimdst >, SrcExp, dim, DType >, DType, type::kChainer > |
| const MakeTensorExp< BroadcastScalarExp< SrcExp, DType, dimdst >, SrcExp, dim, DType > & | self (void) const |
| |
| MakeTensorExp< BroadcastScalarExp< SrcExp, DType, dimdst >, SrcExp, dim, DType > * | ptrself (void) |
| |
template<typename SrcExp, typename DType, int dimdst>
struct mshadow::expr::BroadcastScalarExp< SrcExp, DType, dimdst >
broadcast scalar into a higher dimension Tensor input: Tensor<Device,1>: ishape = {1} output: Tensor<Device, dimdst> : oshape[dimcast] = ishape[0]
- Template Parameters
-
| SrcExp | type of input expression |
| DType | the type of elements |
| dimdst | target tensor dimension |