Closed min6434 closed 6 years ago
You can use cntk.ops.splice
and specify the appropriate axis along which you wish to combine your slices.
So I get the error because I didn't specify the axis to combine. I will specify appropriate axis then . Thank you
I found splice method. I works fine.
I want to slice my input and group them and combine later. I used cntk.ops.slice() method to slice the input however I cannot finde RowStack method in the python API. [https://github.com/Microsoft/CNTK/issues/668] I tried combine method but I got runtime error like this.
RuntimeError: A Function instance 'Composite(Combine): Input('Input3', [#], [68]) -> Output('Block4305_Output_0', [#], [6]), Output('Block4494_Output_0', [#], [6]), Output('Block4683_Output_0', [#], [6]), Output('Block4872_Output_0', [#], [6]), Output('Block4949_Output_0', [#], [2])' with more than one output cannot be implicitly converted to a Variable.
Here is my code
from cntk.ops import slice as slice_cntk from cntk.ops import combine