-
Notifications
You must be signed in to change notification settings - Fork 303
/
dml_scalar_union_fp16.json
47 lines (44 loc) · 1.08 KB
/
dml_scalar_union_fp16.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"$schema": "./_schema.json",
"resources":
{
"input":
{
"initialValuesDataType": "FLOAT16",
"initialValues": { "valueCount": 5, "valueStart": 1, "valueDelta": 1 }
},
"output":
{
"initialValuesDataType": "FLOAT16",
"initialValues": { "valueCount": 5, "value": 0 }
}
},
"dispatchables":
{
"clip":
{
"type": "DML_OPERATOR_ELEMENT_WISE_CLIP1",
"desc":
{
"InputTensor": { "DataType": "FLOAT16", "Sizes": [5] },
"OutputTensor": { "DataType": "FLOAT16", "Sizes": [5] },
"MinMaxDataType": "FLOAT16",
"Min": 2,
"Max": 4
}
}
},
"commands":
[
{
"type": "dispatch",
"dispatchable": "clip",
"bindings":
{
"InputTensor": "input",
"OutputTensor": "output"
}
},
{ "type": "print", "resource": "output" }
]
}