-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteger_alpha.json
More file actions
38 lines (38 loc) · 864 Bytes
/
Copy pathinteger_alpha.json
File metadata and controls
38 lines (38 loc) · 864 Bytes
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
{
"spec_version": "1.0-alpha",
"mapper_type": "integer_range",
"cases": [
{
"name": "zero_based",
"input_range": [0, 100],
"output_range": [-1.0, 1.0],
"clip": false,
"values": [
{"input": 0, "output": -1.0},
{"input": 50, "output": 0.0},
{"input": 100, "output": 1.0}
]
},
{
"name": "mixed_negative_positive",
"input_range": [-10, 10],
"output_range": [-1.0, 1.0],
"clip": false,
"values": [
{"input": -10, "output": -1.0},
{"input": 0, "output": 0.0},
{"input": 10, "output": 1.0}
]
},
{
"name": "clipping",
"input_range": [0, 100],
"output_range": [-1.0, 1.0],
"clip": true,
"values": [
{"input": -50, "output": -1.0},
{"input": 150, "output": 1.0}
]
}
]
}