Template Function marian::constant_like(Expr, std::vector<ElementType>&&)

Function Documentation

template<typename ElementType>
Expr marian::constant_like(Expr a, std::vector<ElementType> &&v)

Convenience function to initialize from a vector.