742{
743 _op_map[tflite::BuiltinOperator_ADD] = make_unique<AddPrinter>();
744
745 _op_map[tflite::BuiltinOperator_ARG_MAX] = make_unique<ArgMaxPrinter>();
746 _op_map[tflite::BuiltinOperator_ARG_MIN] = make_unique<ArgMinPrinter>();
747 _op_map[tflite::BuiltinOperator_AVERAGE_POOL_2D] = make_unique<Pool2DPrinter>();
748 _op_map[tflite::BuiltinOperator_BIDIRECTIONAL_SEQUENCE_LSTM] =
749 make_unique<BidirectionalSequenceLSTMPrinter>();
750 _op_map[tflite::BuiltinOperator_CAST] = make_unique<CastPrinter>();
751
752 _op_map[tflite::BuiltinOperator_CONCATENATION] = make_unique<ConcatenationPrinter>();
753 _op_map[tflite::BuiltinOperator_CONV_2D] = make_unique<Conv2DPrinter>();
754
755 _op_map[tflite::BuiltinOperator_DEPTH_TO_SPACE] = make_unique<DepthToSpacePrinter>();
756 _op_map[tflite::BuiltinOperator_DEPTHWISE_CONV_2D] = make_unique<DepthwiseConv2DPrinter>();
757
758 _op_map[tflite::BuiltinOperator_DIV] = make_unique<DivPrinter>();
759 _op_map[tflite::BuiltinOperator_FAKE_QUANT] = make_unique<FakeQuantPrinter>();
760
761
762 _op_map[tflite::BuiltinOperator_FULLY_CONNECTED] = make_unique<FullyConnectedPrinter>();
763 _op_map[tflite::BuiltinOperator_GATHER] = make_unique<GatherPrinter>();
764 _op_map[tflite::BuiltinOperator_GELU] = make_unique<GeluPrinter>();
765 _op_map[tflite::BuiltinOperator_IF] = make_unique<IfPrinter>();
766 _op_map[tflite::BuiltinOperator_L2_POOL_2D] = make_unique<Pool2DPrinter>();
767 _op_map[tflite::BuiltinOperator_L2_NORMALIZATION] = make_unique<L2NormPrinter>();
768 _op_map[tflite::BuiltinOperator_LEAKY_RELU] = make_unique<LeakyReluPrinter>();
769 _op_map[tflite::BuiltinOperator_LOCAL_RESPONSE_NORMALIZATION] =
770 make_unique<LocalResponseNormalizationPrinter>();
771
772
773
774 _op_map[tflite::BuiltinOperator_MAX_POOL_2D] = make_unique<Pool2DPrinter>();
775 _op_map[tflite::BuiltinOperator_MEAN] = make_unique<ReducerPrinter>();
776 _op_map[tflite::BuiltinOperator_MIRROR_PAD] = make_unique<MirrorPadPrinter>();
777 _op_map[tflite::BuiltinOperator_MUL] = make_unique<MulPrinter>();
778
779
780 _op_map[tflite::BuiltinOperator_ONE_HOT] = make_unique<OneHotPrinter>();
781 _op_map[tflite::BuiltinOperator_PACK] = make_unique<PackPrinter>();
782
783
784
785
786
787
788
789 _op_map[tflite::BuiltinOperator_REDUCE_ANY] = make_unique<ReducerPrinter>();
790 _op_map[tflite::BuiltinOperator_REDUCE_MAX] = make_unique<ReducerPrinter>();
791 _op_map[tflite::BuiltinOperator_REDUCE_MIN] = make_unique<ReducerPrinter>();
792 _op_map[tflite::BuiltinOperator_REDUCE_PROD] = make_unique<ReducerPrinter>();
793 _op_map[tflite::BuiltinOperator_RESHAPE] = make_unique<ReshapePrinter>();
794 _op_map[tflite::BuiltinOperator_RESIZE_BILINEAR] = make_unique<ResizeBilinearPrinter>();
795 _op_map[tflite::BuiltinOperator_RESIZE_NEAREST_NEIGHBOR] =
796 make_unique<ResizeNearestNeighborPrinter>();
797 _op_map[tflite::BuiltinOperator_REVERSE_SEQUENCE] = make_unique<ReverseSequencePrinter>();
798
799
800
801 _op_map[tflite::BuiltinOperator_SHAPE] = make_unique<ShapePrinter>();
802
803
804 _op_map[tflite::BuiltinOperator_SOFTMAX] = make_unique<SoftmaxPrinter>();
805 _op_map[tflite::BuiltinOperator_SPACE_TO_DEPTH] = make_unique<SpaceToDepthPrinter>();
806
807 _op_map[tflite::BuiltinOperator_SPARSE_TO_DENSE] = make_unique<SparseToDensePrinter>();
808 _op_map[tflite::BuiltinOperator_SPLIT] = make_unique<SplitPrinter>();
809 _op_map[tflite::BuiltinOperator_SPLIT_V] = make_unique<SplitVPrinter>();
810 _op_map[tflite::BuiltinOperator_SQUEEZE] = make_unique<SqueezePrinter>();
811 _op_map[tflite::BuiltinOperator_STRIDED_SLICE] = make_unique<StridedSlicePrinter>();
812 _op_map[tflite::BuiltinOperator_SUB] = make_unique<SubPrinter>();
813 _op_map[tflite::BuiltinOperator_SUM] = make_unique<ReducerPrinter>();
814 _op_map[tflite::BuiltinOperator_SVDF] = make_unique<SVDFPrinter>();
815 _op_map[tflite::BuiltinOperator_TRANSPOSE_CONV] = make_unique<TransposeConvPrinter>();
816
817 _op_map[tflite::BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_LSTM] =
818 make_unique<UnidirectionalSequenceLSTMPrinter>();
819 _op_map[tflite::BuiltinOperator_UNIQUE] = make_unique<UniquePrinter>();
820 _op_map[tflite::BuiltinOperator_WHILE] = make_unique<WhilePrinter>();
821 _op_map[tflite::BuiltinOperator_CUSTOM] = make_unique<CustomOpPrinter>();
822}