Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[
  {
    "name": "Softmax with no attributes",
    "operator": "Softmax",
    "attributes": [],
    "cases": [
      {
        "name": "T[2,2]",
        "inputs": [
          {
            "data": [1.0, 2.0, 3.0, 4.0],
            "dims": [2, 2],
            "type": "float32"
          }
        ],
        "outputs": [
          {
            "data": [0.2689414322376251, 0.7310585975646973, 0.2689414322376251, 0.7310585975646973],
            "dims": [2, 2],
            "type": "float32"
          }
        ]
      },
      {
        "name": "T[2, 2, 2]",
        "inputs": [
          {
            "data": [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0],
            "dims": [2, 2, 2],
            "type": "float32"
          }
        ],
        "outputs": [
          {
            "data": [
              0.2689414322376251, 0.7310585975646973, 0.2689414322376251, 0.7310585975646973, 0.2689414322376251,
              0.7310585975646973, 0.2689414322376251, 0.7310585975646973
            ],
            "dims": [2, 2, 2],
            "type": "float32"
          }
        ]
      }
    ]
  },
  {
    "name": "Softmax with attribute axis -1",
    "operator": "Softmax",
    "attributes": [{ "name": "axis", "data": -1, "type": "int" }],
    "cases": [
      {
        "name": "T[2,2]",
        "inputs": [
          {
            "data": [1.0, 2.0, 3.0, 4.0],
            "dims": [2, 2],
            "type": "float32"
          }
        ],
        "outputs": [
          {
            "data": [0.2689414322376251, 0.7310585975646973, 0.2689414322376251, 0.7310585975646973],
            "dims": [2, 2],
            "type": "float32"
          }
        ]
      }
    ]
  },
  {
    "name": "Softmax with attribute axis 1",
    "operator": "Softmax",
    "attributes": [{ "name": "axis", "data": 1, "type": "int" }],
    "cases": [
      {
        "name": "T[1, 2, 3, 4]",
        "inputs": [
          {
            "data": [
              1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0,
              20.0, 21.0, 22.0, 23.0, 24.0
            ],
            "dims": [1, 2, 3, 4],
            "type": "float32"
          }
        ],
        "outputs": [
          {
            "data": [
              0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878,
              0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878,
              0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878, 0.000006144174221844878,
              0.9999938011169434, 0.9999938011169434, 0.9999938011169434, 0.9999938011169434, 0.9999938011169434,
              0.9999938011169434, 0.9999938011169434, 0.9999938011169434, 0.9999938011169434, 0.9999938011169434,
              0.9999938011169434, 0.9999938011169434
            ],
            "dims": [1, 2, 3, 4],
            "type": "float32"
          }
        ]
      }
    ]
  }
]