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 fc9fb07 commit d8c0b0eCopy full SHA for d8c0b0e
runtime/ops/README.md
@@ -13,7 +13,7 @@ language: 'python'
13
vendor: 'huawei'
14
raw_id: 'TestMapper'
15
version: '1.0.0'
16
-modal: 'text'
+modal: 'text' # text/image/audio/video/multimodal
17
inputs: 'text'
18
outputs: 'text'
19
```
@@ -35,7 +35,7 @@ class TestMapper(Mapper):
35
sample[self.text_key] += "\n新增的数据"
36
return sample
37
38
-
+
39
# Filter用于过滤和选择性保留数据,使用时将需要过滤的数据的text或data置为空值
40
from datamate.core.base_op import Filter
41
@@ -86,4 +86,4 @@ from datamate.core.base_op import OPERATORS
86
OPERATORS.register_module(module_name='TestMapper',
87
module_path="ops.user.test_operator.process")
88
89
-```
+```
0 commit comments