瀏覽代碼

Update onnx-metadata.json

Lutz Roeder 7 年之前
父節點
當前提交
9029362055
共有 1 個文件被更改,包括 220 次插入0 次删除
  1. 220 0
      src/onnx-metadata.json

+ 220 - 0
src/onnx-metadata.json

@@ -190,6 +190,50 @@
       ]
     }
   },
+  {
+    "name": "Acosh",
+    "schema": {
+      "description": "Calculates the hyperbolic arccosine of the given input tensor element-wise.\n",
+      "domain": "ai.onnx",
+      "examples": [
+        {
+          "code": "node = onnx.helper.make_node(\n    'Acosh',\n    inputs=['x'],\n    outputs=['y'],\n)\n\nx = np.array([10, np.e, 1]).astype(np.float32)\ny = np.arccosh(x)  # expected output [2.99322295,  1.65745449,  0.]\nexpect(node, inputs=[x], outputs=[y],\n       name='test_acosh_example')\n\nx = np.random.uniform(1.0, 10.0, (3, 4, 5)).astype(np.float32)\ny = np.arccosh(x)\nexpect(node, inputs=[x], outputs=[y],\n       name='test_acosh')",
+          "summary": "acosh"
+        }
+      ],
+      "inputs": [
+        {
+          "description": "Input tensor",
+          "name": "input",
+          "type": "T"
+        }
+      ],
+      "max_input": 1,
+      "max_output": 1,
+      "min_input": 1,
+      "min_output": 1,
+      "outputs": [
+        {
+          "description": "The hyperbolic arccosine values of the input tensor computed element-wise",
+          "name": "output",
+          "type": "T"
+        }
+      ],
+      "since_version": 9,
+      "support_level": "common",
+      "type_constraints": [
+        {
+          "allowed_type_strs": [
+            "tensor(float16)",
+            "tensor(float)",
+            "tensor(double)"
+          ],
+          "description": "Constrain input and output types to float tensors.",
+          "type_param_str": "T"
+        }
+      ]
+    }
+  },
   {
     "name": "Add",
     "schema": {
@@ -815,6 +859,50 @@
       ]
     }
   },
+  {
+    "name": "Asinh",
+    "schema": {
+      "description": "Calculates the hyperbolic arcsine of the given input tensor element-wise.\n",
+      "domain": "ai.onnx",
+      "examples": [
+        {
+          "code": "node = onnx.helper.make_node(\n    'Asinh',\n    inputs=['x'],\n    outputs=['y'],\n)\n\nx = np.array([-1, 0, 1]).astype(np.float32)\ny = np.arcsinh(x)  # expected output [-0.88137358,  0.,  0.88137358]\nexpect(node, inputs=[x], outputs=[y],\n       name='test_asinh_example')\n\nx = np.random.randn(3, 4, 5).astype(np.float32)\ny = np.arcsinh(x)\nexpect(node, inputs=[x], outputs=[y],\n       name='test_asinh')",
+          "summary": "asinh"
+        }
+      ],
+      "inputs": [
+        {
+          "description": "Input tensor",
+          "name": "input",
+          "type": "T"
+        }
+      ],
+      "max_input": 1,
+      "max_output": 1,
+      "min_input": 1,
+      "min_output": 1,
+      "outputs": [
+        {
+          "description": "The hyperbolic arcsine values of the input tensor computed element-wise",
+          "name": "output",
+          "type": "T"
+        }
+      ],
+      "since_version": 9,
+      "support_level": "common",
+      "type_constraints": [
+        {
+          "allowed_type_strs": [
+            "tensor(float16)",
+            "tensor(float)",
+            "tensor(double)"
+          ],
+          "description": "Constrain input and output types to float tensors.",
+          "type_param_str": "T"
+        }
+      ]
+    }
+  },
   {
     "name": "Atan",
     "schema": {
@@ -859,6 +947,50 @@
       ]
     }
   },
+  {
+    "name": "Atanh",
+    "schema": {
+      "description": "Calculates the hyperbolic arctangent of the given input tensor element-wise.\n",
+      "domain": "ai.onnx",
+      "examples": [
+        {
+          "code": "node = onnx.helper.make_node(\n    'Atanh',\n    inputs=['x'],\n    outputs=['y'],\n)\n\nx = np.array([-0.5, 0, 0.5]).astype(np.float32)\ny = np.arctanh(x)  # expected output [-0.54930615,  0.,  0.54930615]\nexpect(node, inputs=[x], outputs=[y],\n       name='test_atanh_example')\n\nx = np.random.uniform(0.0, 1.0, (3, 4, 5)).astype(np.float32)\ny = np.arctanh(x)\nexpect(node, inputs=[x], outputs=[y],\n       name='test_atanh')",
+          "summary": "atanh"
+        }
+      ],
+      "inputs": [
+        {
+          "description": "Input tensor",
+          "name": "input",
+          "type": "T"
+        }
+      ],
+      "max_input": 1,
+      "max_output": 1,
+      "min_input": 1,
+      "min_output": 1,
+      "outputs": [
+        {
+          "description": "The hyperbolic arctangent values of the input tensor computed element-wise",
+          "name": "output",
+          "type": "T"
+        }
+      ],
+      "since_version": 9,
+      "support_level": "common",
+      "type_constraints": [
+        {
+          "allowed_type_strs": [
+            "tensor(float16)",
+            "tensor(float)",
+            "tensor(double)"
+          ],
+          "description": "Constrain input and output types to float tensors.",
+          "type_param_str": "T"
+        }
+      ]
+    }
+  },
   {
     "name": "AveragePool",
     "schema": {
@@ -2785,6 +2917,50 @@
       ]
     }
   },
+  {
+    "name": "Cosh",
+    "schema": {
+      "description": "Calculates the hyperbolic cosine of the given input tensor element-wise.\n",
+      "domain": "ai.onnx",
+      "examples": [
+        {
+          "code": "node = onnx.helper.make_node(\n    'Cosh',\n    inputs=['x'],\n    outputs=['y'],\n)\n\nx = np.array([-1, 0, 1]).astype(np.float32)\ny = np.cosh(x)  # expected output [1.54308069,  1.,  1.54308069]\nexpect(node, inputs=[x], outputs=[y],\n       name='test_cosh_example')\n\nx = np.random.randn(3, 4, 5).astype(np.float32)\ny = np.cosh(x)\nexpect(node, inputs=[x], outputs=[y],\n       name='test_cosh')",
+          "summary": "cosh"
+        }
+      ],
+      "inputs": [
+        {
+          "description": "Input tensor",
+          "name": "input",
+          "type": "T"
+        }
+      ],
+      "max_input": 1,
+      "max_output": 1,
+      "min_input": 1,
+      "min_output": 1,
+      "outputs": [
+        {
+          "description": "The hyperbolic cosine values of the input tensor computed element-wise",
+          "name": "output",
+          "type": "T"
+        }
+      ],
+      "since_version": 9,
+      "support_level": "common",
+      "type_constraints": [
+        {
+          "allowed_type_strs": [
+            "tensor(float16)",
+            "tensor(float)",
+            "tensor(double)"
+          ],
+          "description": "Constrain input and output types to float tensors.",
+          "type_param_str": "T"
+        }
+      ]
+    }
+  },
   {
     "name": "Crop",
     "schema": {
@@ -12226,6 +12402,50 @@
       ]
     }
   },
+  {
+    "name": "Sinh",
+    "schema": {
+      "description": "Calculates the hyperbolic sine of the given input tensor element-wise.\n",
+      "domain": "ai.onnx",
+      "examples": [
+        {
+          "code": "node = onnx.helper.make_node(\n    'Sinh',\n    inputs=['x'],\n    outputs=['y'],\n)\n\nx = np.array([-1, 0, 1]).astype(np.float32)\ny = np.sinh(x)  # expected output [-1.17520118,  0.,  1.17520118]\nexpect(node, inputs=[x], outputs=[y],\n       name='test_sinh_example')\n\nx = np.random.randn(3, 4, 5).astype(np.float32)\ny = np.sinh(x)\nexpect(node, inputs=[x], outputs=[y],\n       name='test_sinh')",
+          "summary": "sinh"
+        }
+      ],
+      "inputs": [
+        {
+          "description": "Input tensor",
+          "name": "input",
+          "type": "T"
+        }
+      ],
+      "max_input": 1,
+      "max_output": 1,
+      "min_input": 1,
+      "min_output": 1,
+      "outputs": [
+        {
+          "description": "The hyperbolic sine values of the input tensor computed element-wise",
+          "name": "output",
+          "type": "T"
+        }
+      ],
+      "since_version": 9,
+      "support_level": "common",
+      "type_constraints": [
+        {
+          "allowed_type_strs": [
+            "tensor(float16)",
+            "tensor(float)",
+            "tensor(double)"
+          ],
+          "description": "Constrain input and output types to float tensors.",
+          "type_param_str": "T"
+        }
+      ]
+    }
+  },
   {
     "name": "Size",
     "schema": {