ai-edge-litert-nightly 2.0.2a1.dev20250823__cp310-cp310-manylinux_2_27_aarch64.whl → 2.0.2a1.dev20250828__cp310-cp310-manylinux_2_27_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- __version__ = "2.0.2a1.dev20250823"
1
+ __version__ = "2.0.2a1.dev20250828"
Binary file
@@ -38,9 +38,9 @@ def QuantizationDetailsCreator(unionType, table):
38
38
  from flatbuffers.table import Table
39
39
  if not isinstance(table, Table):
40
40
  return None
41
- if unionType == QuantizationDetails().CustomQuantization:
41
+ if unionType == QuantizationDetails.CustomQuantization:
42
42
  return CustomQuantizationT.InitFromBuf(table.Bytes, table.Pos)
43
- if unionType == QuantizationDetails().BlockwiseQuantization:
43
+ if unionType == QuantizationDetails.BlockwiseQuantization:
44
44
  return BlockwiseQuantizationT.InitFromBuf(table.Bytes, table.Pos)
45
45
  return None
46
46
 
@@ -60,11 +60,11 @@ def SparseIndexVectorCreator(unionType, table):
60
60
  from flatbuffers.table import Table
61
61
  if not isinstance(table, Table):
62
62
  return None
63
- if unionType == SparseIndexVector().Int32Vector:
63
+ if unionType == SparseIndexVector.Int32Vector:
64
64
  return Int32VectorT.InitFromBuf(table.Bytes, table.Pos)
65
- if unionType == SparseIndexVector().Uint16Vector:
65
+ if unionType == SparseIndexVector.Uint16Vector:
66
66
  return Uint16VectorT.InitFromBuf(table.Bytes, table.Pos)
67
- if unionType == SparseIndexVector().Uint8Vector:
67
+ if unionType == SparseIndexVector.Uint8Vector:
68
68
  return Uint8VectorT.InitFromBuf(table.Bytes, table.Pos)
69
69
  return None
70
70
 
@@ -415,257 +415,257 @@ def BuiltinOptionsCreator(unionType, table):
415
415
  from flatbuffers.table import Table
416
416
  if not isinstance(table, Table):
417
417
  return None
418
- if unionType == BuiltinOptions().Conv2DOptions:
418
+ if unionType == BuiltinOptions.Conv2DOptions:
419
419
  return Conv2DOptionsT.InitFromBuf(table.Bytes, table.Pos)
420
- if unionType == BuiltinOptions().DepthwiseConv2DOptions:
420
+ if unionType == BuiltinOptions.DepthwiseConv2DOptions:
421
421
  return DepthwiseConv2DOptionsT.InitFromBuf(table.Bytes, table.Pos)
422
- if unionType == BuiltinOptions().ConcatEmbeddingsOptions:
422
+ if unionType == BuiltinOptions.ConcatEmbeddingsOptions:
423
423
  return ConcatEmbeddingsOptionsT.InitFromBuf(table.Bytes, table.Pos)
424
- if unionType == BuiltinOptions().LSHProjectionOptions:
424
+ if unionType == BuiltinOptions.LSHProjectionOptions:
425
425
  return LSHProjectionOptionsT.InitFromBuf(table.Bytes, table.Pos)
426
- if unionType == BuiltinOptions().Pool2DOptions:
426
+ if unionType == BuiltinOptions.Pool2DOptions:
427
427
  return Pool2DOptionsT.InitFromBuf(table.Bytes, table.Pos)
428
- if unionType == BuiltinOptions().SVDFOptions:
428
+ if unionType == BuiltinOptions.SVDFOptions:
429
429
  return SVDFOptionsT.InitFromBuf(table.Bytes, table.Pos)
430
- if unionType == BuiltinOptions().RNNOptions:
430
+ if unionType == BuiltinOptions.RNNOptions:
431
431
  return RNNOptionsT.InitFromBuf(table.Bytes, table.Pos)
432
- if unionType == BuiltinOptions().FullyConnectedOptions:
432
+ if unionType == BuiltinOptions.FullyConnectedOptions:
433
433
  return FullyConnectedOptionsT.InitFromBuf(table.Bytes, table.Pos)
434
- if unionType == BuiltinOptions().SoftmaxOptions:
434
+ if unionType == BuiltinOptions.SoftmaxOptions:
435
435
  return SoftmaxOptionsT.InitFromBuf(table.Bytes, table.Pos)
436
- if unionType == BuiltinOptions().ConcatenationOptions:
436
+ if unionType == BuiltinOptions.ConcatenationOptions:
437
437
  return ConcatenationOptionsT.InitFromBuf(table.Bytes, table.Pos)
438
- if unionType == BuiltinOptions().AddOptions:
438
+ if unionType == BuiltinOptions.AddOptions:
439
439
  return AddOptionsT.InitFromBuf(table.Bytes, table.Pos)
440
- if unionType == BuiltinOptions().L2NormOptions:
440
+ if unionType == BuiltinOptions.L2NormOptions:
441
441
  return L2NormOptionsT.InitFromBuf(table.Bytes, table.Pos)
442
- if unionType == BuiltinOptions().LocalResponseNormalizationOptions:
442
+ if unionType == BuiltinOptions.LocalResponseNormalizationOptions:
443
443
  return LocalResponseNormalizationOptionsT.InitFromBuf(table.Bytes, table.Pos)
444
- if unionType == BuiltinOptions().LSTMOptions:
444
+ if unionType == BuiltinOptions.LSTMOptions:
445
445
  return LSTMOptionsT.InitFromBuf(table.Bytes, table.Pos)
446
- if unionType == BuiltinOptions().ResizeBilinearOptions:
446
+ if unionType == BuiltinOptions.ResizeBilinearOptions:
447
447
  return ResizeBilinearOptionsT.InitFromBuf(table.Bytes, table.Pos)
448
- if unionType == BuiltinOptions().CallOptions:
448
+ if unionType == BuiltinOptions.CallOptions:
449
449
  return CallOptionsT.InitFromBuf(table.Bytes, table.Pos)
450
- if unionType == BuiltinOptions().ReshapeOptions:
450
+ if unionType == BuiltinOptions.ReshapeOptions:
451
451
  return ReshapeOptionsT.InitFromBuf(table.Bytes, table.Pos)
452
- if unionType == BuiltinOptions().SkipGramOptions:
452
+ if unionType == BuiltinOptions.SkipGramOptions:
453
453
  return SkipGramOptionsT.InitFromBuf(table.Bytes, table.Pos)
454
- if unionType == BuiltinOptions().SpaceToDepthOptions:
454
+ if unionType == BuiltinOptions.SpaceToDepthOptions:
455
455
  return SpaceToDepthOptionsT.InitFromBuf(table.Bytes, table.Pos)
456
- if unionType == BuiltinOptions().EmbeddingLookupSparseOptions:
456
+ if unionType == BuiltinOptions.EmbeddingLookupSparseOptions:
457
457
  return EmbeddingLookupSparseOptionsT.InitFromBuf(table.Bytes, table.Pos)
458
- if unionType == BuiltinOptions().MulOptions:
458
+ if unionType == BuiltinOptions.MulOptions:
459
459
  return MulOptionsT.InitFromBuf(table.Bytes, table.Pos)
460
- if unionType == BuiltinOptions().PadOptions:
460
+ if unionType == BuiltinOptions.PadOptions:
461
461
  return PadOptionsT.InitFromBuf(table.Bytes, table.Pos)
462
- if unionType == BuiltinOptions().GatherOptions:
462
+ if unionType == BuiltinOptions.GatherOptions:
463
463
  return GatherOptionsT.InitFromBuf(table.Bytes, table.Pos)
464
- if unionType == BuiltinOptions().BatchToSpaceNDOptions:
464
+ if unionType == BuiltinOptions.BatchToSpaceNDOptions:
465
465
  return BatchToSpaceNDOptionsT.InitFromBuf(table.Bytes, table.Pos)
466
- if unionType == BuiltinOptions().SpaceToBatchNDOptions:
466
+ if unionType == BuiltinOptions.SpaceToBatchNDOptions:
467
467
  return SpaceToBatchNDOptionsT.InitFromBuf(table.Bytes, table.Pos)
468
- if unionType == BuiltinOptions().TransposeOptions:
468
+ if unionType == BuiltinOptions.TransposeOptions:
469
469
  return TransposeOptionsT.InitFromBuf(table.Bytes, table.Pos)
470
- if unionType == BuiltinOptions().ReducerOptions:
470
+ if unionType == BuiltinOptions.ReducerOptions:
471
471
  return ReducerOptionsT.InitFromBuf(table.Bytes, table.Pos)
472
- if unionType == BuiltinOptions().SubOptions:
472
+ if unionType == BuiltinOptions.SubOptions:
473
473
  return SubOptionsT.InitFromBuf(table.Bytes, table.Pos)
474
- if unionType == BuiltinOptions().DivOptions:
474
+ if unionType == BuiltinOptions.DivOptions:
475
475
  return DivOptionsT.InitFromBuf(table.Bytes, table.Pos)
476
- if unionType == BuiltinOptions().SqueezeOptions:
476
+ if unionType == BuiltinOptions.SqueezeOptions:
477
477
  return SqueezeOptionsT.InitFromBuf(table.Bytes, table.Pos)
478
- if unionType == BuiltinOptions().SequenceRNNOptions:
478
+ if unionType == BuiltinOptions.SequenceRNNOptions:
479
479
  return SequenceRNNOptionsT.InitFromBuf(table.Bytes, table.Pos)
480
- if unionType == BuiltinOptions().StridedSliceOptions:
480
+ if unionType == BuiltinOptions.StridedSliceOptions:
481
481
  return StridedSliceOptionsT.InitFromBuf(table.Bytes, table.Pos)
482
- if unionType == BuiltinOptions().ExpOptions:
482
+ if unionType == BuiltinOptions.ExpOptions:
483
483
  return ExpOptionsT.InitFromBuf(table.Bytes, table.Pos)
484
- if unionType == BuiltinOptions().TopKV2Options:
484
+ if unionType == BuiltinOptions.TopKV2Options:
485
485
  return TopKV2OptionsT.InitFromBuf(table.Bytes, table.Pos)
486
- if unionType == BuiltinOptions().SplitOptions:
486
+ if unionType == BuiltinOptions.SplitOptions:
487
487
  return SplitOptionsT.InitFromBuf(table.Bytes, table.Pos)
488
- if unionType == BuiltinOptions().LogSoftmaxOptions:
488
+ if unionType == BuiltinOptions.LogSoftmaxOptions:
489
489
  return LogSoftmaxOptionsT.InitFromBuf(table.Bytes, table.Pos)
490
- if unionType == BuiltinOptions().CastOptions:
490
+ if unionType == BuiltinOptions.CastOptions:
491
491
  return CastOptionsT.InitFromBuf(table.Bytes, table.Pos)
492
- if unionType == BuiltinOptions().DequantizeOptions:
492
+ if unionType == BuiltinOptions.DequantizeOptions:
493
493
  return DequantizeOptionsT.InitFromBuf(table.Bytes, table.Pos)
494
- if unionType == BuiltinOptions().MaximumMinimumOptions:
494
+ if unionType == BuiltinOptions.MaximumMinimumOptions:
495
495
  return MaximumMinimumOptionsT.InitFromBuf(table.Bytes, table.Pos)
496
- if unionType == BuiltinOptions().ArgMaxOptions:
496
+ if unionType == BuiltinOptions.ArgMaxOptions:
497
497
  return ArgMaxOptionsT.InitFromBuf(table.Bytes, table.Pos)
498
- if unionType == BuiltinOptions().LessOptions:
498
+ if unionType == BuiltinOptions.LessOptions:
499
499
  return LessOptionsT.InitFromBuf(table.Bytes, table.Pos)
500
- if unionType == BuiltinOptions().NegOptions:
500
+ if unionType == BuiltinOptions.NegOptions:
501
501
  return NegOptionsT.InitFromBuf(table.Bytes, table.Pos)
502
- if unionType == BuiltinOptions().PadV2Options:
502
+ if unionType == BuiltinOptions.PadV2Options:
503
503
  return PadV2OptionsT.InitFromBuf(table.Bytes, table.Pos)
504
- if unionType == BuiltinOptions().GreaterOptions:
504
+ if unionType == BuiltinOptions.GreaterOptions:
505
505
  return GreaterOptionsT.InitFromBuf(table.Bytes, table.Pos)
506
- if unionType == BuiltinOptions().GreaterEqualOptions:
506
+ if unionType == BuiltinOptions.GreaterEqualOptions:
507
507
  return GreaterEqualOptionsT.InitFromBuf(table.Bytes, table.Pos)
508
- if unionType == BuiltinOptions().LessEqualOptions:
508
+ if unionType == BuiltinOptions.LessEqualOptions:
509
509
  return LessEqualOptionsT.InitFromBuf(table.Bytes, table.Pos)
510
- if unionType == BuiltinOptions().SelectOptions:
510
+ if unionType == BuiltinOptions.SelectOptions:
511
511
  return SelectOptionsT.InitFromBuf(table.Bytes, table.Pos)
512
- if unionType == BuiltinOptions().SliceOptions:
512
+ if unionType == BuiltinOptions.SliceOptions:
513
513
  return SliceOptionsT.InitFromBuf(table.Bytes, table.Pos)
514
- if unionType == BuiltinOptions().TransposeConvOptions:
514
+ if unionType == BuiltinOptions.TransposeConvOptions:
515
515
  return TransposeConvOptionsT.InitFromBuf(table.Bytes, table.Pos)
516
- if unionType == BuiltinOptions().SparseToDenseOptions:
516
+ if unionType == BuiltinOptions.SparseToDenseOptions:
517
517
  return SparseToDenseOptionsT.InitFromBuf(table.Bytes, table.Pos)
518
- if unionType == BuiltinOptions().TileOptions:
518
+ if unionType == BuiltinOptions.TileOptions:
519
519
  return TileOptionsT.InitFromBuf(table.Bytes, table.Pos)
520
- if unionType == BuiltinOptions().ExpandDimsOptions:
520
+ if unionType == BuiltinOptions.ExpandDimsOptions:
521
521
  return ExpandDimsOptionsT.InitFromBuf(table.Bytes, table.Pos)
522
- if unionType == BuiltinOptions().EqualOptions:
522
+ if unionType == BuiltinOptions.EqualOptions:
523
523
  return EqualOptionsT.InitFromBuf(table.Bytes, table.Pos)
524
- if unionType == BuiltinOptions().NotEqualOptions:
524
+ if unionType == BuiltinOptions.NotEqualOptions:
525
525
  return NotEqualOptionsT.InitFromBuf(table.Bytes, table.Pos)
526
- if unionType == BuiltinOptions().ShapeOptions:
526
+ if unionType == BuiltinOptions.ShapeOptions:
527
527
  return ShapeOptionsT.InitFromBuf(table.Bytes, table.Pos)
528
- if unionType == BuiltinOptions().PowOptions:
528
+ if unionType == BuiltinOptions.PowOptions:
529
529
  return PowOptionsT.InitFromBuf(table.Bytes, table.Pos)
530
- if unionType == BuiltinOptions().ArgMinOptions:
530
+ if unionType == BuiltinOptions.ArgMinOptions:
531
531
  return ArgMinOptionsT.InitFromBuf(table.Bytes, table.Pos)
532
- if unionType == BuiltinOptions().FakeQuantOptions:
532
+ if unionType == BuiltinOptions.FakeQuantOptions:
533
533
  return FakeQuantOptionsT.InitFromBuf(table.Bytes, table.Pos)
534
- if unionType == BuiltinOptions().PackOptions:
534
+ if unionType == BuiltinOptions.PackOptions:
535
535
  return PackOptionsT.InitFromBuf(table.Bytes, table.Pos)
536
- if unionType == BuiltinOptions().LogicalOrOptions:
536
+ if unionType == BuiltinOptions.LogicalOrOptions:
537
537
  return LogicalOrOptionsT.InitFromBuf(table.Bytes, table.Pos)
538
- if unionType == BuiltinOptions().OneHotOptions:
538
+ if unionType == BuiltinOptions.OneHotOptions:
539
539
  return OneHotOptionsT.InitFromBuf(table.Bytes, table.Pos)
540
- if unionType == BuiltinOptions().LogicalAndOptions:
540
+ if unionType == BuiltinOptions.LogicalAndOptions:
541
541
  return LogicalAndOptionsT.InitFromBuf(table.Bytes, table.Pos)
542
- if unionType == BuiltinOptions().LogicalNotOptions:
542
+ if unionType == BuiltinOptions.LogicalNotOptions:
543
543
  return LogicalNotOptionsT.InitFromBuf(table.Bytes, table.Pos)
544
- if unionType == BuiltinOptions().UnpackOptions:
544
+ if unionType == BuiltinOptions.UnpackOptions:
545
545
  return UnpackOptionsT.InitFromBuf(table.Bytes, table.Pos)
546
- if unionType == BuiltinOptions().FloorDivOptions:
546
+ if unionType == BuiltinOptions.FloorDivOptions:
547
547
  return FloorDivOptionsT.InitFromBuf(table.Bytes, table.Pos)
548
- if unionType == BuiltinOptions().SquareOptions:
548
+ if unionType == BuiltinOptions.SquareOptions:
549
549
  return SquareOptionsT.InitFromBuf(table.Bytes, table.Pos)
550
- if unionType == BuiltinOptions().ZerosLikeOptions:
550
+ if unionType == BuiltinOptions.ZerosLikeOptions:
551
551
  return ZerosLikeOptionsT.InitFromBuf(table.Bytes, table.Pos)
552
- if unionType == BuiltinOptions().FillOptions:
552
+ if unionType == BuiltinOptions.FillOptions:
553
553
  return FillOptionsT.InitFromBuf(table.Bytes, table.Pos)
554
- if unionType == BuiltinOptions().BidirectionalSequenceLSTMOptions:
554
+ if unionType == BuiltinOptions.BidirectionalSequenceLSTMOptions:
555
555
  return BidirectionalSequenceLSTMOptionsT.InitFromBuf(table.Bytes, table.Pos)
556
- if unionType == BuiltinOptions().BidirectionalSequenceRNNOptions:
556
+ if unionType == BuiltinOptions.BidirectionalSequenceRNNOptions:
557
557
  return BidirectionalSequenceRNNOptionsT.InitFromBuf(table.Bytes, table.Pos)
558
- if unionType == BuiltinOptions().UnidirectionalSequenceLSTMOptions:
558
+ if unionType == BuiltinOptions.UnidirectionalSequenceLSTMOptions:
559
559
  return UnidirectionalSequenceLSTMOptionsT.InitFromBuf(table.Bytes, table.Pos)
560
- if unionType == BuiltinOptions().FloorModOptions:
560
+ if unionType == BuiltinOptions.FloorModOptions:
561
561
  return FloorModOptionsT.InitFromBuf(table.Bytes, table.Pos)
562
- if unionType == BuiltinOptions().RangeOptions:
562
+ if unionType == BuiltinOptions.RangeOptions:
563
563
  return RangeOptionsT.InitFromBuf(table.Bytes, table.Pos)
564
- if unionType == BuiltinOptions().ResizeNearestNeighborOptions:
564
+ if unionType == BuiltinOptions.ResizeNearestNeighborOptions:
565
565
  return ResizeNearestNeighborOptionsT.InitFromBuf(table.Bytes, table.Pos)
566
- if unionType == BuiltinOptions().LeakyReluOptions:
566
+ if unionType == BuiltinOptions.LeakyReluOptions:
567
567
  return LeakyReluOptionsT.InitFromBuf(table.Bytes, table.Pos)
568
- if unionType == BuiltinOptions().SquaredDifferenceOptions:
568
+ if unionType == BuiltinOptions.SquaredDifferenceOptions:
569
569
  return SquaredDifferenceOptionsT.InitFromBuf(table.Bytes, table.Pos)
570
- if unionType == BuiltinOptions().MirrorPadOptions:
570
+ if unionType == BuiltinOptions.MirrorPadOptions:
571
571
  return MirrorPadOptionsT.InitFromBuf(table.Bytes, table.Pos)
572
- if unionType == BuiltinOptions().AbsOptions:
572
+ if unionType == BuiltinOptions.AbsOptions:
573
573
  return AbsOptionsT.InitFromBuf(table.Bytes, table.Pos)
574
- if unionType == BuiltinOptions().SplitVOptions:
574
+ if unionType == BuiltinOptions.SplitVOptions:
575
575
  return SplitVOptionsT.InitFromBuf(table.Bytes, table.Pos)
576
- if unionType == BuiltinOptions().UniqueOptions:
576
+ if unionType == BuiltinOptions.UniqueOptions:
577
577
  return UniqueOptionsT.InitFromBuf(table.Bytes, table.Pos)
578
- if unionType == BuiltinOptions().ReverseV2Options:
578
+ if unionType == BuiltinOptions.ReverseV2Options:
579
579
  return ReverseV2OptionsT.InitFromBuf(table.Bytes, table.Pos)
580
- if unionType == BuiltinOptions().AddNOptions:
580
+ if unionType == BuiltinOptions.AddNOptions:
581
581
  return AddNOptionsT.InitFromBuf(table.Bytes, table.Pos)
582
- if unionType == BuiltinOptions().GatherNdOptions:
582
+ if unionType == BuiltinOptions.GatherNdOptions:
583
583
  return GatherNdOptionsT.InitFromBuf(table.Bytes, table.Pos)
584
- if unionType == BuiltinOptions().CosOptions:
584
+ if unionType == BuiltinOptions.CosOptions:
585
585
  return CosOptionsT.InitFromBuf(table.Bytes, table.Pos)
586
- if unionType == BuiltinOptions().WhereOptions:
586
+ if unionType == BuiltinOptions.WhereOptions:
587
587
  return WhereOptionsT.InitFromBuf(table.Bytes, table.Pos)
588
- if unionType == BuiltinOptions().RankOptions:
588
+ if unionType == BuiltinOptions.RankOptions:
589
589
  return RankOptionsT.InitFromBuf(table.Bytes, table.Pos)
590
- if unionType == BuiltinOptions().ReverseSequenceOptions:
590
+ if unionType == BuiltinOptions.ReverseSequenceOptions:
591
591
  return ReverseSequenceOptionsT.InitFromBuf(table.Bytes, table.Pos)
592
- if unionType == BuiltinOptions().MatrixDiagOptions:
592
+ if unionType == BuiltinOptions.MatrixDiagOptions:
593
593
  return MatrixDiagOptionsT.InitFromBuf(table.Bytes, table.Pos)
594
- if unionType == BuiltinOptions().QuantizeOptions:
594
+ if unionType == BuiltinOptions.QuantizeOptions:
595
595
  return QuantizeOptionsT.InitFromBuf(table.Bytes, table.Pos)
596
- if unionType == BuiltinOptions().MatrixSetDiagOptions:
596
+ if unionType == BuiltinOptions.MatrixSetDiagOptions:
597
597
  return MatrixSetDiagOptionsT.InitFromBuf(table.Bytes, table.Pos)
598
- if unionType == BuiltinOptions().HardSwishOptions:
598
+ if unionType == BuiltinOptions.HardSwishOptions:
599
599
  return HardSwishOptionsT.InitFromBuf(table.Bytes, table.Pos)
600
- if unionType == BuiltinOptions().IfOptions:
600
+ if unionType == BuiltinOptions.IfOptions:
601
601
  return IfOptionsT.InitFromBuf(table.Bytes, table.Pos)
602
- if unionType == BuiltinOptions().WhileOptions:
602
+ if unionType == BuiltinOptions.WhileOptions:
603
603
  return WhileOptionsT.InitFromBuf(table.Bytes, table.Pos)
604
- if unionType == BuiltinOptions().DepthToSpaceOptions:
604
+ if unionType == BuiltinOptions.DepthToSpaceOptions:
605
605
  return DepthToSpaceOptionsT.InitFromBuf(table.Bytes, table.Pos)
606
- if unionType == BuiltinOptions().NonMaxSuppressionV4Options:
606
+ if unionType == BuiltinOptions.NonMaxSuppressionV4Options:
607
607
  return NonMaxSuppressionV4OptionsT.InitFromBuf(table.Bytes, table.Pos)
608
- if unionType == BuiltinOptions().NonMaxSuppressionV5Options:
608
+ if unionType == BuiltinOptions.NonMaxSuppressionV5Options:
609
609
  return NonMaxSuppressionV5OptionsT.InitFromBuf(table.Bytes, table.Pos)
610
- if unionType == BuiltinOptions().ScatterNdOptions:
610
+ if unionType == BuiltinOptions.ScatterNdOptions:
611
611
  return ScatterNdOptionsT.InitFromBuf(table.Bytes, table.Pos)
612
- if unionType == BuiltinOptions().SelectV2Options:
612
+ if unionType == BuiltinOptions.SelectV2Options:
613
613
  return SelectV2OptionsT.InitFromBuf(table.Bytes, table.Pos)
614
- if unionType == BuiltinOptions().DensifyOptions:
614
+ if unionType == BuiltinOptions.DensifyOptions:
615
615
  return DensifyOptionsT.InitFromBuf(table.Bytes, table.Pos)
616
- if unionType == BuiltinOptions().SegmentSumOptions:
616
+ if unionType == BuiltinOptions.SegmentSumOptions:
617
617
  return SegmentSumOptionsT.InitFromBuf(table.Bytes, table.Pos)
618
- if unionType == BuiltinOptions().BatchMatMulOptions:
618
+ if unionType == BuiltinOptions.BatchMatMulOptions:
619
619
  return BatchMatMulOptionsT.InitFromBuf(table.Bytes, table.Pos)
620
- if unionType == BuiltinOptions().CumsumOptions:
620
+ if unionType == BuiltinOptions.CumsumOptions:
621
621
  return CumsumOptionsT.InitFromBuf(table.Bytes, table.Pos)
622
- if unionType == BuiltinOptions().CallOnceOptions:
622
+ if unionType == BuiltinOptions.CallOnceOptions:
623
623
  return CallOnceOptionsT.InitFromBuf(table.Bytes, table.Pos)
624
- if unionType == BuiltinOptions().BroadcastToOptions:
624
+ if unionType == BuiltinOptions.BroadcastToOptions:
625
625
  return BroadcastToOptionsT.InitFromBuf(table.Bytes, table.Pos)
626
- if unionType == BuiltinOptions().Rfft2dOptions:
626
+ if unionType == BuiltinOptions.Rfft2dOptions:
627
627
  return Rfft2dOptionsT.InitFromBuf(table.Bytes, table.Pos)
628
- if unionType == BuiltinOptions().Conv3DOptions:
628
+ if unionType == BuiltinOptions.Conv3DOptions:
629
629
  return Conv3DOptionsT.InitFromBuf(table.Bytes, table.Pos)
630
- if unionType == BuiltinOptions().HashtableOptions:
630
+ if unionType == BuiltinOptions.HashtableOptions:
631
631
  return HashtableOptionsT.InitFromBuf(table.Bytes, table.Pos)
632
- if unionType == BuiltinOptions().HashtableFindOptions:
632
+ if unionType == BuiltinOptions.HashtableFindOptions:
633
633
  return HashtableFindOptionsT.InitFromBuf(table.Bytes, table.Pos)
634
- if unionType == BuiltinOptions().HashtableImportOptions:
634
+ if unionType == BuiltinOptions.HashtableImportOptions:
635
635
  return HashtableImportOptionsT.InitFromBuf(table.Bytes, table.Pos)
636
- if unionType == BuiltinOptions().HashtableSizeOptions:
636
+ if unionType == BuiltinOptions.HashtableSizeOptions:
637
637
  return HashtableSizeOptionsT.InitFromBuf(table.Bytes, table.Pos)
638
- if unionType == BuiltinOptions().VarHandleOptions:
638
+ if unionType == BuiltinOptions.VarHandleOptions:
639
639
  return VarHandleOptionsT.InitFromBuf(table.Bytes, table.Pos)
640
- if unionType == BuiltinOptions().ReadVariableOptions:
640
+ if unionType == BuiltinOptions.ReadVariableOptions:
641
641
  return ReadVariableOptionsT.InitFromBuf(table.Bytes, table.Pos)
642
- if unionType == BuiltinOptions().AssignVariableOptions:
642
+ if unionType == BuiltinOptions.AssignVariableOptions:
643
643
  return AssignVariableOptionsT.InitFromBuf(table.Bytes, table.Pos)
644
- if unionType == BuiltinOptions().RandomOptions:
644
+ if unionType == BuiltinOptions.RandomOptions:
645
645
  return RandomOptionsT.InitFromBuf(table.Bytes, table.Pos)
646
- if unionType == BuiltinOptions().BucketizeOptions:
646
+ if unionType == BuiltinOptions.BucketizeOptions:
647
647
  return BucketizeOptionsT.InitFromBuf(table.Bytes, table.Pos)
648
- if unionType == BuiltinOptions().GeluOptions:
648
+ if unionType == BuiltinOptions.GeluOptions:
649
649
  return GeluOptionsT.InitFromBuf(table.Bytes, table.Pos)
650
- if unionType == BuiltinOptions().DynamicUpdateSliceOptions:
650
+ if unionType == BuiltinOptions.DynamicUpdateSliceOptions:
651
651
  return DynamicUpdateSliceOptionsT.InitFromBuf(table.Bytes, table.Pos)
652
- if unionType == BuiltinOptions().UnsortedSegmentProdOptions:
652
+ if unionType == BuiltinOptions.UnsortedSegmentProdOptions:
653
653
  return UnsortedSegmentProdOptionsT.InitFromBuf(table.Bytes, table.Pos)
654
- if unionType == BuiltinOptions().UnsortedSegmentMaxOptions:
654
+ if unionType == BuiltinOptions.UnsortedSegmentMaxOptions:
655
655
  return UnsortedSegmentMaxOptionsT.InitFromBuf(table.Bytes, table.Pos)
656
- if unionType == BuiltinOptions().UnsortedSegmentMinOptions:
656
+ if unionType == BuiltinOptions.UnsortedSegmentMinOptions:
657
657
  return UnsortedSegmentMinOptionsT.InitFromBuf(table.Bytes, table.Pos)
658
- if unionType == BuiltinOptions().UnsortedSegmentSumOptions:
658
+ if unionType == BuiltinOptions.UnsortedSegmentSumOptions:
659
659
  return UnsortedSegmentSumOptionsT.InitFromBuf(table.Bytes, table.Pos)
660
- if unionType == BuiltinOptions().ATan2Options:
660
+ if unionType == BuiltinOptions.ATan2Options:
661
661
  return ATan2OptionsT.InitFromBuf(table.Bytes, table.Pos)
662
- if unionType == BuiltinOptions().SignOptions:
662
+ if unionType == BuiltinOptions.SignOptions:
663
663
  return SignOptionsT.InitFromBuf(table.Bytes, table.Pos)
664
- if unionType == BuiltinOptions().BitcastOptions:
664
+ if unionType == BuiltinOptions.BitcastOptions:
665
665
  return BitcastOptionsT.InitFromBuf(table.Bytes, table.Pos)
666
- if unionType == BuiltinOptions().BitwiseXorOptions:
666
+ if unionType == BuiltinOptions.BitwiseXorOptions:
667
667
  return BitwiseXorOptionsT.InitFromBuf(table.Bytes, table.Pos)
668
- if unionType == BuiltinOptions().RightShiftOptions:
668
+ if unionType == BuiltinOptions.RightShiftOptions:
669
669
  return RightShiftOptionsT.InitFromBuf(table.Bytes, table.Pos)
670
670
  return None
671
671
 
@@ -700,51 +700,51 @@ def BuiltinOptions2Creator(unionType, table):
700
700
  from flatbuffers.table import Table
701
701
  if not isinstance(table, Table):
702
702
  return None
703
- if unionType == BuiltinOptions2().StablehloConcatenateOptions:
703
+ if unionType == BuiltinOptions2.StablehloConcatenateOptions:
704
704
  return StablehloConcatenateOptionsT.InitFromBuf(table.Bytes, table.Pos)
705
- if unionType == BuiltinOptions2().StablehloBroadcastInDimOptions:
705
+ if unionType == BuiltinOptions2.StablehloBroadcastInDimOptions:
706
706
  return StablehloBroadcastInDimOptionsT.InitFromBuf(table.Bytes, table.Pos)
707
- if unionType == BuiltinOptions2().StablehloSliceOptions:
707
+ if unionType == BuiltinOptions2.StablehloSliceOptions:
708
708
  return StablehloSliceOptionsT.InitFromBuf(table.Bytes, table.Pos)
709
- if unionType == BuiltinOptions2().StablehloConvolutionOptions:
709
+ if unionType == BuiltinOptions2.StablehloConvolutionOptions:
710
710
  return StablehloConvolutionOptionsT.InitFromBuf(table.Bytes, table.Pos)
711
- if unionType == BuiltinOptions2().StablehloCustomCallOptions:
711
+ if unionType == BuiltinOptions2.StablehloCustomCallOptions:
712
712
  return StablehloCustomCallOptionsT.InitFromBuf(table.Bytes, table.Pos)
713
- if unionType == BuiltinOptions2().StablehloReduceOptions:
713
+ if unionType == BuiltinOptions2.StablehloReduceOptions:
714
714
  return StablehloReduceOptionsT.InitFromBuf(table.Bytes, table.Pos)
715
- if unionType == BuiltinOptions2().StablehloScatterOptions:
715
+ if unionType == BuiltinOptions2.StablehloScatterOptions:
716
716
  return StablehloScatterOptionsT.InitFromBuf(table.Bytes, table.Pos)
717
- if unionType == BuiltinOptions2().StablehloCompareOptions:
717
+ if unionType == BuiltinOptions2.StablehloCompareOptions:
718
718
  return StablehloCompareOptionsT.InitFromBuf(table.Bytes, table.Pos)
719
- if unionType == BuiltinOptions2().StablehloDynamicSliceOptions:
719
+ if unionType == BuiltinOptions2.StablehloDynamicSliceOptions:
720
720
  return StablehloDynamicSliceOptionsT.InitFromBuf(table.Bytes, table.Pos)
721
- if unionType == BuiltinOptions2().StablehloPadOptions:
721
+ if unionType == BuiltinOptions2.StablehloPadOptions:
722
722
  return StablehloPadOptionsT.InitFromBuf(table.Bytes, table.Pos)
723
- if unionType == BuiltinOptions2().StablehloIotaOptions:
723
+ if unionType == BuiltinOptions2.StablehloIotaOptions:
724
724
  return StablehloIotaOptionsT.InitFromBuf(table.Bytes, table.Pos)
725
- if unionType == BuiltinOptions2().StablehloDotGeneralOptions:
725
+ if unionType == BuiltinOptions2.StablehloDotGeneralOptions:
726
726
  return StablehloDotGeneralOptionsT.InitFromBuf(table.Bytes, table.Pos)
727
- if unionType == BuiltinOptions2().StablehloReduceWindowOptions:
727
+ if unionType == BuiltinOptions2.StablehloReduceWindowOptions:
728
728
  return StablehloReduceWindowOptionsT.InitFromBuf(table.Bytes, table.Pos)
729
- if unionType == BuiltinOptions2().StablehloSortOptions:
729
+ if unionType == BuiltinOptions2.StablehloSortOptions:
730
730
  return StablehloSortOptionsT.InitFromBuf(table.Bytes, table.Pos)
731
- if unionType == BuiltinOptions2().StablehloWhileOptions:
731
+ if unionType == BuiltinOptions2.StablehloWhileOptions:
732
732
  return StablehloWhileOptionsT.InitFromBuf(table.Bytes, table.Pos)
733
- if unionType == BuiltinOptions2().StablehloGatherOptions:
733
+ if unionType == BuiltinOptions2.StablehloGatherOptions:
734
734
  return StablehloGatherOptionsT.InitFromBuf(table.Bytes, table.Pos)
735
- if unionType == BuiltinOptions2().StablehloTransposeOptions:
735
+ if unionType == BuiltinOptions2.StablehloTransposeOptions:
736
736
  return StablehloTransposeOptionsT.InitFromBuf(table.Bytes, table.Pos)
737
- if unionType == BuiltinOptions2().DilateOptions:
737
+ if unionType == BuiltinOptions2.DilateOptions:
738
738
  return DilateOptionsT.InitFromBuf(table.Bytes, table.Pos)
739
- if unionType == BuiltinOptions2().StablehloRngBitGeneratorOptions:
739
+ if unionType == BuiltinOptions2.StablehloRngBitGeneratorOptions:
740
740
  return StablehloRngBitGeneratorOptionsT.InitFromBuf(table.Bytes, table.Pos)
741
- if unionType == BuiltinOptions2().ReduceWindowOptions:
741
+ if unionType == BuiltinOptions2.ReduceWindowOptions:
742
742
  return ReduceWindowOptionsT.InitFromBuf(table.Bytes, table.Pos)
743
- if unionType == BuiltinOptions2().StableHLOCompositeOptions:
743
+ if unionType == BuiltinOptions2.StableHLOCompositeOptions:
744
744
  return StableHLOCompositeOptionsT.InitFromBuf(table.Bytes, table.Pos)
745
- if unionType == BuiltinOptions2().StablehloShiftLeftOptions:
745
+ if unionType == BuiltinOptions2.StablehloShiftLeftOptions:
746
746
  return StablehloShiftLeftOptionsT.InitFromBuf(table.Bytes, table.Pos)
747
- if unionType == BuiltinOptions2().StablehloCaseOptions:
747
+ if unionType == BuiltinOptions2.StablehloCaseOptions:
748
748
  return StablehloCaseOptionsT.InitFromBuf(table.Bytes, table.Pos)
749
749
  return None
750
750
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-edge-litert-nightly
3
- Version: 2.0.2a1.dev20250823
3
+ Version: 2.0.2a1.dev20250828
4
4
  Summary: LiteRT is for mobile and embedded devices.
5
5
  Home-page: https://www.tensorflow.org/lite/
6
6
  Author: Google AI Edge Authors
@@ -1,4 +1,4 @@
1
- ai_edge_litert/__init__.py,sha256=Bx4YqFhRAxpnJ5A4giMbW6LY4KTmghSaeMbEL5TYxw0,36
1
+ ai_edge_litert/__init__.py,sha256=JM1BLAGcWFXrydEXDUpsKf4BO0IBLj70jD47dwFl7uc,36
2
2
  ai_edge_litert/_pywrap_analyzer_wrapper.so,sha256=qhOo4FG4sHlk0LRBUnHeXCZKhHGKgrzmA0WjmIFpPe8,6464
3
3
  ai_edge_litert/_pywrap_converter_api.so,sha256=MkVQ6XLDTQnNzfIki4WAe-8MnlsDMyWJJM2AiJQasdw,197352
4
4
  ai_edge_litert/_pywrap_litert_compiled_model_wrapper.so,sha256=RRsmEAo9KuLT8lx0o8pIrS7zbwtYhHNLsvTx5hTyA-0,6488
@@ -18,21 +18,21 @@ ai_edge_litert/field_mask_pb2.py,sha256=YVi1IasKjEQAlcIwM6HMgmW0wT6TMAXjiaiysrEY
18
18
  ai_edge_litert/format_converter_wrapper_pybind11.so,sha256=tIhiUYnHh5ZKIDTuMKKuOMwqxd6MjrPN7EMYV7oNO-M,6512
19
19
  ai_edge_litert/hardware_accelerator.py,sha256=FgouirT1Cs80mqvMvLbO9O7wiPBnQaWDB5vjFpJhtJo,800
20
20
  ai_edge_litert/interpreter.py,sha256=4u9FfiaYkDxf_IxCjzeLWyTyxwG184uVxqg0fbj6tYg,40650
21
- ai_edge_litert/libpywrap_litert_common.so,sha256=w8lmEgrOgWQPszMiai3zDzjRA6rGY2cLL77Lw_JLJ8A,294264440
21
+ ai_edge_litert/libpywrap_litert_common.so,sha256=sPr3cz34MakRBaMvtlqjKYL26rBvlLPP6jLmSfW7rHE,293590864
22
22
  ai_edge_litert/metrics_interface.py,sha256=dVu6SmbnQUntPgE5o6BxHVMyemwli-7F6tDfVMGrlYI,1542
23
23
  ai_edge_litert/metrics_portable.py,sha256=KKvR9ZOe8j2ZeBtDo_6gWJ8kENKoOawPK3LPkevnZa8,2039
24
24
  ai_edge_litert/model_runtime_info_pb2.py,sha256=E93kYJtWnsChrdegZJbKzeFpplssBGEURTdOOfjtOxg,6370
25
25
  ai_edge_litert/plugin_pb2.py,sha256=dDsvFbuWV2yq4ghU6XnHMW6ZrbxYG2l8DAArIoqL8PY,3514
26
26
  ai_edge_litert/profiling_info_pb2.py,sha256=RxZo_P9siirO7ktyZImOxVKMZ7g-ienzuP7rSsF61YM,3579
27
27
  ai_edge_litert/pywrap_genai_ops.so,sha256=oCewDf2dounOlDypU17HLEUBP1pNW7SSzQmgM0KpxeM,6432
28
- ai_edge_litert/schema_py_generated.py,sha256=j1mIWi3QiiY0kVRcugNdqVcTGfRiaZmR6jb7AvwVUyM,649242
28
+ ai_edge_litert/schema_py_generated.py,sha256=LiVvsyQgWdFB3jCqqkgEOBHdVeTrcEzzyYI7-7_BNLs,648934
29
29
  ai_edge_litert/source_context_pb2.py,sha256=m_GMQpv9LUK-7oKg1Vv64fTL6Bd3ZThH-fVVLtPxdqI,1775
30
30
  ai_edge_litert/struct_pb2.py,sha256=DJ6P0fZe53upcah9J1jDo6BSClobouW9dHdCTItZO1A,2955
31
31
  ai_edge_litert/tensor_buffer.py,sha256=3Xy7kd_aR499QrfO0YITvr_z-aU1eONga41KiDBUeew,5356
32
32
  ai_edge_litert/timestamp_pb2.py,sha256=K7Gs_qOn2XAMZTNUUrJ1XcGf4OmYhdt858I_zDtZYzg,1793
33
33
  ai_edge_litert/type_pb2.py,sha256=x8rTulmlk9FxtRJal7BnUsaPbn2TcLlu8D7AVoVPjMA,5065
34
34
  ai_edge_litert/wrappers_pb2.py,sha256=4hQAZRGeaE5DyY6YQ7VfrqozPa_d_LCOBEYjxfQNlKs,2955
35
- ai_edge_litert_nightly-2.0.2a1.dev20250823.dist-info/METADATA,sha256=SyMW2-oqFFnk8YHxwQEG8bykUj3TWrehq1XVNxgl2u8,1913
36
- ai_edge_litert_nightly-2.0.2a1.dev20250823.dist-info/WHEEL,sha256=mudVLDAdRoZlx7QxSMutHh3MXdxCh0fI4keOGh0Ndxo,114
37
- ai_edge_litert_nightly-2.0.2a1.dev20250823.dist-info/top_level.txt,sha256=WcDZgG99n0a0xDS_ipL8ZWy956g1v5fVyR3FH96VDT0,15
38
- ai_edge_litert_nightly-2.0.2a1.dev20250823.dist-info/RECORD,,
35
+ ai_edge_litert_nightly-2.0.2a1.dev20250828.dist-info/METADATA,sha256=rS7x6KiDM_AaZwYXE0siZo0OeDA0JPFYVZD5q5TzLZk,1913
36
+ ai_edge_litert_nightly-2.0.2a1.dev20250828.dist-info/WHEEL,sha256=mudVLDAdRoZlx7QxSMutHh3MXdxCh0fI4keOGh0Ndxo,114
37
+ ai_edge_litert_nightly-2.0.2a1.dev20250828.dist-info/top_level.txt,sha256=WcDZgG99n0a0xDS_ipL8ZWy956g1v5fVyR3FH96VDT0,15
38
+ ai_edge_litert_nightly-2.0.2a1.dev20250828.dist-info/RECORD,,