2
0
Эх сурвалжийг харах

Update executorch-schema.js

Lutz Roeder 8 сар өмнө
parent
commit
cbb8cc7b8d

+ 10 - 0
source/executorch-schema.js

@@ -606,6 +606,7 @@ fb_xnnpack.XNodeUnion = class {
             case 41: return fb_xnnpack.XNNLog.decode(reader, position);
             case 42: return fb_xnnpack.XNNGelu.decode(reader, position);
             case 43: return fb_xnnpack.XNNTanh.decode(reader, position);
+            case 44: return fb_xnnpack.XNNExp.decode(reader, position);
             default: return undefined;
         }
     }
@@ -1210,6 +1211,15 @@ fb_xnnpack.XNNTanh = class XNNTanh {
     }
 };
 
+fb_xnnpack.XNNExp = class XNNExp {
+
+    static decode(reader, position) {
+        const $ = new fb_xnnpack.XNNExp();
+        fb_xnnpack._XNNNode1x1.decode(reader, position, $);
+        return $;
+    }
+};
+
 vkgraph.OperatorCall = class OperatorCall {
 
     static decode(reader, position) {

+ 1 - 0
source/executorch.js

@@ -573,6 +573,7 @@ xnnpack.Metadata = class {
         this.register('XNNPReLU', 'Activation');
         this.register('XNNSigmoid', 'Activation');
         this.register('XNNSoftmax', 'Activation');
+        this.register('XNNTanh', 'Activation');
         this.register('XNNStaticTranspose', 'Transform');
     }