struct QPanda::Variational::impl_stack

Overview

Implementation class for the stack operation. More...

Inherited Members

Detailed Documentation

Implementation class for the stack operation.

Fields

stack axis, should be either 0 or 1.

Construction

Construct a new impl stack object by the axis and children. y = stack(axis=0, [a,b,c,d]). It will try to place a,b,c,d into one matrix with the same columns, if axis==1, the same rows.

Parameters:

axis the stack axis.