parameters: (self, in_, order)
docstring: Set the input channel order for e.g. RGB to BGR conversion
          as needed for the reference ImageNet model.
  
          Parameters
          ----------
          in_ : which input to assign this channel order
          order : the order to transpose the dimensions
docstring_summary: Set the input channel order for e.g. RGB to BGR conversion
          as needed for the reference ImageNet model.
docstring_tokens: Set the input channel order for e . g . RGB to BGR conversion as needed for the reference ImageNet model .
function: def set_transpose(self, in_, order):
          """
          Set the input channel order for e.g. RGB to BGR conversion
          as needed for the reference ImageNet model.
  
          Parameters
          ----------
          in_ : which input to assign this channel order
          order : the order to transpose the dimensions
          """
          self.__check_input(in_)
          if len(order) != len(self.inputs[in_]) - 1:
              raise Exception('Transpose order needs to have the same number of '
                              'dimensions as the input.')
          self.transpose[in_] = order
function_tokens: def set_transpose ( self , in_ , order ) : self . __check_input ( in_ ) if len ( order ) != len ( self . inputs [ in_ ] ) - 1 : raise Exception ( 'Transpose order needs to have the same number of ' 'dimensions as the input.' ) self . transpose [ in_ ] = order