Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以判断我的工作是否使用静态分配,但是我想实际改变我的工作以使用它。我该怎么做呢?
确保您的计算函数具有configure装饰器并包含如下STATIC_ALLOCATION配置文件:
configure
STATIC_ALLOCATION
from transforms.api import Input, Output, configure, transform @configure(profile=["STATIC_ALLOCATION"]) @transform( ... ) def my_compute_function(...): ...