#NEWLINE# @ classmethod #NEWLINE# def register( cls , reg , basic ) : #NEWLINE# #INDENT# reg . add_module ( cls , name = 'Array Shape' , namespace = cls . my_namespace ) #NEWLINE# reg . add_input_port ( cls , 'Array' , ( NDArray , 'Input Array' ) ) #NEWLINE# reg . add_output_port ( cls , 'dim0' , ( basic . Integer , 'Dim 0 Size' ) ) #NEWLINE# reg . add_output_port ( cls , 'dim1' , ( basic . Integer , 'Dim 1 Size' ) ) #NEWLINE# reg . add_output_port ( cls , 'dim2' , ( basic . Integer , 'Dim 2 Size' ) ) #NEWLINE# reg . add_output_port ( cls , 'dim3' , ( basic . Integer , 'Dim 3 Size' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'dim4' , ( basic . Integer , 'Dim 4 Size' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'dim5' , ( basic . Integer , 'Dim 5 Size' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'dim6' , ( basic . Integer , 'Dim 6 Size' ) , True ) #NEWLINE# reg . add_output_port ( cls , 'dim7' , ( basic . Integer , 'Dim 7 Size' ) , True )