Skip to content

Function reshape

function reshape(Arg &&, const shape<OutDims> &) base

template <expression_argument Arg, index_t OutDims>
KFR_INTRINSIC expression_reshape<Arg, OutDims> reshape(Arg&& arg, const shape<OutDims>& out_shape)

Creates an expression that exposes the same data as arg with a different shape.

Parameters
arg input expression
out_shape desired output shape
Returns
an expression_reshape

Fully qualified name: kfr::reshape(Arg &&, const shape<OutDims> &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.