We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b4a46 commit eae6a9dCopy full SHA for eae6a9d
docs/zh/dev_guide/storage.md
@@ -66,6 +66,7 @@ DataFlow数据表的结构如下
66
使用该方法写入的新数据eval列数据清空。
67
68
- ``write_eval(self, data: list[dict], **kwargs)``: data参数中是原数据的id和新数据的分数(float类型)和信息(str类型)。要求的可变参数如下:
69
+ * ``stage``: 当前算子在pipeline中的位置+1,要求在配置文件中传入。
70
* ``score_key``: data参数中分数对应的关键字,若data字段的形式为``[{'id': xxx, 'score1': xxx}]``,则此处应传入'score1'。
71
* ``algo_name``: 算子名称,可以默认使用``self.__class__.__name__``
72
* !``info_key``: data参数中需要额外存储的信息,若data字段的形式为``[{'id': xxx, 'score1': xxx, 'info1': xxx}]``,则此处应传入'info1'。
0 commit comments