| 30 | namespace { |
| 31 | |
| 32 | inline Tensor tensorLike(Tensor &src) |
| 33 | { |
| 34 | const auto &srcShape = src.shape(); |
| 35 | Shape dstShape = nvcvpy::CreateShape(srcShape); |
| 36 | |
| 37 | return Tensor::Create(dstShape, src.dtype(), src.layout()); |
| 38 | } |
| 39 | |
| 40 | inline ImageBatchVarShape batchLike(ImageBatchVarShape &src) |
| 41 | { |
no test coverage detected