Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
mshadow::expr::Broadcast1DExp< Device, dimdst, dimcast > 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 <tensor_expr_ext.h>

Inheritance diagram for mshadow::expr::Broadcast1DExp< Device, dimdst, dimcast >:
mshadow::expr::MakeTensorExp< Broadcast1DExp< Device, dimdst, dimcast >, Tensor< Device, 1 >, dimdst > mshadow::expr::Exp< MakeTensorExp< Broadcast1DExp< Device, dimdst, dimcast >, Tensor< Device, 1 >, dim >, type::kMapper >

Public Member Functions

 Broadcast1DExp (const Tensor< Device, 1 > &src, Shape< dimdst > shape)
 constructor
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< Broadcast1DExp< Device, dimdst, dimcast >, Tensor< Device, 1 >, dimdst >
const Broadcast1DExp< Device,
dimdst, dimcast > & 
real_self (void) const
 true self of subtype
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< Broadcast1DExp< Device, dimdst, dimcast >, Tensor< Device, 1 >, dim >, type::kMapper >
const MakeTensorExp
< Broadcast1DExp< Device,
dimdst, dimcast >, Tensor
< Device, 1 >, dim > & 
self (void) const
 
MakeTensorExp< Broadcast1DExp
< Device, dimdst, dimcast >
, Tensor< Device, 1 >, dim > & 
refself (void)
 

Public Attributes

const Tensor< Device, 1 > src_
 source operand
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< Broadcast1DExp< Device, dimdst, dimcast >, Tensor< Device, 1 >, dimdst >
Shape< dim > shape_
 the shape of this expression
 

Detailed Description

template<typename Device, int dimdst, int dimcast>
struct mshadow::expr::Broadcast1DExp< Device, dimdst, dimcast >

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

Template Parameters
Devicewhich device it lies
dimdsttarget tensor dimension
dimcastthe dimension where the 1D tensor fills in by index

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