1

我可以判断我的工作是否使用静态分配,但是我想实际改变我的工作以使用它。我该怎么做呢?

4

1 回答 1

0

确保您的计算函数具有configure装饰器并包含如下STATIC_ALLOCATION配置文件:

from transforms.api import Input, Output, configure, transform


@configure(profile=["STATIC_ALLOCATION"])
@transform(
  ...
)
def my_compute_function(...):
  ...
于 2022-02-15T22:44:23.490 回答