megengine.dtr#
Get or set the eviction threshold in bytes. |
|
获取或设置张量的内存阈值,单位为字节 |
|
获取或设置方差采样是否被允许 |
|
启用记录 Tensor 的计算路径并执行 DTR 策略。 |
|
停止记录 Tensor 的计算路径和执行 DTR 策略。 |
Get or set the eviction threshold in bytes. |
|
获取或设置张量的内存阈值,单位为字节 |
|
获取或设置方差采样是否被允许 |
|
启用记录 Tensor 的计算路径并执行 DTR 策略。 |
|
停止记录 Tensor 的计算路径和执行 DTR 策略。 |