安装 PyG
开始使用
教程
高级概念
包参考
速查表
外部资源
Bases: BaseTransform
BaseTransform
围绕特定轴随机旋转节点位置,旋转因子在给定区间内随机采样(功能名称:random_rotate)。
random_rotate
degrees (tuple 或 float) – 从中采样旋转角度的旋转区间。如果 degrees 是一个数字而不是一个元组,则区间由 \([-\mathrm{degrees}, \mathrm{degrees}]\) 给出。
degrees
axis (int, optional) – 旋转轴。 (默认: 0)
0