业务接口变更
Vision SDK
- AscendStream、Tensor及TensorOperation新增适配Atlas 200/500 A2 推理产品,包括计算Tensor加、减、按位与、按位或等。
- WarpAffineHiper仿射变换接口及WarpPerspective透视变换接口新增支持输入为float16类型。
- BackgroundReplace背景替换接口mask参数新增支持三通道。
- Divide张量除法接口新增加支持Scale参数。
Index SDK
- AscendIndexTS新增GetBaseByRange接口,AscendIndexFlat新增search_with_masks接口。
- Flat、Int8Flat算法新增支持800I A2推理产品。
- 时空库支持tokenNum数量扩展最大支持30万。
- Flat算法支持2048、3072、4096维度;int8Flat算法支持768维度。
Rec SDK
- init接口删除use_hot、use_mpi参数,新增max_steps参数。
- sparse_lookup接口新增is_grad和serving_default_value两个参数。
- set_if_load接口更名为if_load。
- set_ascend_global_hashtable_collection、get_ascend_global_hashtable_collection均更名为ascend_global_hashtable_collection。
- get_host_pipeline_ops接口更名为import_host_pipeline_ops。
- get_use_dynamic_expansion接口更名为use_dynamic_expansion。
- 优化器中learning_rate参数支持tf.Tensor类型。
- 常量中删除ApplyGradientStrategy。
- 删除set_ascend_table_name_must_contain接口。
- 新增ASCEND_TABLE_NAME_MUST_CONTAIN常量。
父主题: 6.0.RC1更新说明