38 x_shape =
stack_[0]->OutputShape(x_shape);
43 return stack_[0]->OutputShape(input_shape);
58 ReverseData(input, rev_input);
60 stack_[0]->Forward(debug, *rev_input,
nullptr, scratch, rev_output);
61 ReverseData(*rev_output, output);
70 ReverseData(fwd_deltas, rev_input);
73 ReverseData(*rev_output, back_deltas);
82 dest->CopyWithXReversal(src);
84 dest->CopyWithYReversal(src);
86 dest->CopyWithXYTranspose(src);