diff options
Diffstat (limited to 'ethosu/vela/tflite/DepthToSpaceOptions.py')
-rw-r--r-- | ethosu/vela/tflite/DepthToSpaceOptions.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/ethosu/vela/tflite/DepthToSpaceOptions.py b/ethosu/vela/tflite/DepthToSpaceOptions.py index 779da401..46a46e8c 100644 --- a/ethosu/vela/tflite/DepthToSpaceOptions.py +++ b/ethosu/vela/tflite/DepthToSpaceOptions.py @@ -35,12 +35,15 @@ class DepthToSpaceOptions(object): return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos) return 0 -def DepthToSpaceOptionsStart(builder): builder.StartObject(1) -def Start(builder): - return DepthToSpaceOptionsStart(builder) -def DepthToSpaceOptionsAddBlockSize(builder, blockSize): builder.PrependInt32Slot(0, blockSize, 0) -def AddBlockSize(builder, blockSize): - return DepthToSpaceOptionsAddBlockSize(builder, blockSize) -def DepthToSpaceOptionsEnd(builder): return builder.EndObject() -def End(builder): - return DepthToSpaceOptionsEnd(builder)
\ No newline at end of file +def Start(builder): builder.StartObject(1) +def DepthToSpaceOptionsStart(builder): + """This method is deprecated. Please switch to Start.""" + return Start(builder) +def AddBlockSize(builder, blockSize): builder.PrependInt32Slot(0, blockSize, 0) +def DepthToSpaceOptionsAddBlockSize(builder, blockSize): + """This method is deprecated. Please switch to AddBlockSize.""" + return AddBlockSize(builder, blockSize) +def End(builder): return builder.EndObject() +def DepthToSpaceOptionsEnd(builder): + """This method is deprecated. Please switch to End.""" + return End(builder)
\ No newline at end of file |