Ver código fonte

Update nnabla-proto.js

Lutz Roeder 2 anos atrás
pai
commit
6769c26d47
2 arquivos alterados com 33 adições e 0 exclusões
  1. 33 0
      source/nnabla-metadata.json
  2. 0 0
      source/nnabla-proto.js

+ 33 - 0
source/nnabla-metadata.json

@@ -4839,6 +4839,39 @@
     ],
     "category": "Shape"
   },
+  {
+    "name": "Trilu",
+    "description": "Returns an array in which the values of the last dimension consist of the triangular\nmatrix of the last two dimensions of an input array.",
+    "inputs": [
+      {
+        "name": "x",
+        "type": "nnabla.Variable",
+        "description": "N-D array with shape (:math:`M_0 \\times \\ldots \\times M_N`)."
+      }
+    ],
+    "attributes": [
+      {
+        "name": "k",
+        "type": "int64",
+        "default": 0,
+        "description": "The number diagonals above or below the main diagonal to exclude or include."
+      },
+      {
+        "name": "upper",
+        "type": "boolean",
+        "default": true,
+        "description": "Determine whether upper or lower part of matrix is retained."
+      }
+    ],
+    "outputs": [
+      {
+        "name": "y",
+        "type": "nnabla.Variable",
+        "description": "N-D array with shape (:math:`M_0 \\times \\ldots \\times M_N`)."
+      }
+    ],
+    "category": "Shape"
+  },
   {
     "name": "Meshgrid",
     "description": "Return coordinate matrices from coordinate vectors. Given N 1-D arrays, this function returns N-D coordinate arrays for vectorized evaluations on an N-D grid.\nExample: \n  >>> x,y = F.meshgrid(F.arange(0,3), F.arange(0,2))\n  >>> x.d\n  array([[0., 1., 2.],\n         [0., 1., 2.]], dtype=float32)\n >>> y.d \n array([[0., 0., 0.],\n        [1., 1., 1.]], dtype=float32)\n\n >>> i,j = F.meshgrid(F.arange(0,3), F.arange(0,2), ij_indexing=True)\n >>> i.d \n array([[0., 0.],\n        [1., 1.],\n        [2., 2.]], dtype=float32)\n >>> j.d \n array([[0., 1.],\n        [0., 1.],\n        [0., 1.]], dtype=float32)",

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
source/nnabla-proto.js


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff