RandomScale
¶
Bases: BaseTransform
Scales the node positions pos by a random factor sampled uniformly
from scales (with mx.random).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scales
|
Tuple[float, float]
|
The |
required |
Example:
Source code in mlx_graphs/transforms/point_cloud.py
from mlx_graphs.transforms import RandomScale · mlx_graphs/transforms/point_cloud.py