我要评分
获取效率
正确性
完整性
易理解

Interface Description

The interfaces of the PyTorch image operator are the same as those of PyTorch. Table 1 lists optimized interfaces.

Table 1 Optimized interfaces

Interface

Description

normalize

Normalizes a tensor image using the mean and standard deviation.

permute

Changes the sequence of each dimension of a tensor so that the memory layout is continuous.

resize

Resizes an image. The bilinear and bicubic interpolation modes are optimized.