From fcc2ec8a3b092094d55f4f738f999b1b4fb32690 Mon Sep 17 00:00:00 2001 From: Lutz Roeder Date: Fri, 8 Sep 2023 21:10:55 -0700 Subject: [PATCH] Update tflite-schema.js --- source/tflite-schema.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/source/tflite-schema.js b/source/tflite-schema.js index 72bb28681d..69b06abdd0 100644 --- a/source/tflite-schema.js +++ b/source/tflite-schema.js @@ -446,7 +446,8 @@ $root.tflite.BuiltinOperator = { STABLEHLO_SORT: 199, STABLEHLO_WHILE: 200, STABLEHLO_GATHER: 201, - STABLEHLO_TRANSPOSE: 202 + STABLEHLO_TRANSPOSE: 202, + DILATE: 203 }; $root.tflite.BuiltinOptions = class { @@ -737,6 +738,7 @@ $root.tflite.BuiltinOptions2 = class { case 15: return $root.tflite.StablehloWhileOptions.decode(reader, position); case 16: return $root.tflite.StablehloGatherOptions.decode(reader, position); case 17: return $root.tflite.StablehloTransposeOptions.decode(reader, position); + case 18: return $root.tflite.DilateOptions.decode(reader, position); default: return undefined; } } @@ -760,6 +762,7 @@ $root.tflite.BuiltinOptions2 = class { case 'StablehloWhileOptions': return $root.tflite.StablehloWhileOptions.decodeText(reader, json); case 'StablehloGatherOptions': return $root.tflite.StablehloGatherOptions.decodeText(reader, json); case 'StablehloTransposeOptions': return $root.tflite.StablehloTransposeOptions.decodeText(reader, json); + case 'DilateOptions': return $root.tflite.DilateOptions.decodeText(reader, json); default: return undefined; } } @@ -3116,6 +3119,19 @@ $root.tflite.RightShiftOptions = class RightShiftOptions { } }; +$root.tflite.DilateOptions = class DilateOptions { + + static decode(/* reader, position */) { + const $ = new $root.tflite.DilateOptions(); + return $; + } + + static decodeText(/* reader, json */) { + const $ = new $root.tflite.DilateOptions(); + return $; + } +}; + $root.tflite.OperatorCode = class OperatorCode { static decode(reader, position) {