| 51 | } |
| 52 | |
| 53 | Tensor Flip(Tensor &input, int32_t flipCode, std::optional<Stream> pstream) |
| 54 | { |
| 55 | Tensor output = Tensor::Create(input.shape(), input.dtype()); |
| 56 | |
| 57 | return FlipInto(output, input, flipCode, pstream); |
| 58 | } |
| 59 | |
| 60 | ImageBatchVarShape FlipVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &flipCode, |
| 61 | std::optional<Stream> pstream) |