parameters: (self, layer_name)
docstring: Prints the output and kernel channels of an innerProduct layer.
docstring_summary: Prints the output and kernel channels of an innerProduct layer.
docstring_tokens: Prints the output and kernel channels of an innerProduct layer .
function: def inspect_innerproduct_channels(self, layer_name):
          """ Prints the output and kernel channels of an innerProduct layer.
          """
          if self.spec is None:
              return
          if layer_name not in self.layer_specs:
              raise ValueError("Layer %s does not exist." % (layer_name))
          spec_layer = self.layer_specs[layer_name]
  
          if spec_layer.WhichOneof("layer") != "innerProduct":
              raise ValueError("Layer %s is not an innerProduct layer." % (layer_name))
  
          input_channels = spec_layer.innerProduct.inputChannels
          output_channels = spec_layer.innerProduct.outputChannels
          print("inputChannels: {}".format(input_channels))
          print("outputChannels: {}".format(output_channels))
function_tokens: def inspect_innerproduct_channels ( self , layer_name ) : if self . spec is None : return if layer_name not in self . layer_specs : raise ValueError ( "Layer %s does not exist." % ( layer_name ) ) spec_layer = self . layer_specs [ layer_name ] if spec_layer . WhichOneof ( "layer" ) != "innerProduct" : raise ValueError ( "Layer %s is not an innerProduct layer." % ( layer_name ) ) input_channels = spec_layer . innerProduct . inputChannels output_channels = spec_layer . innerProduct . outputChannels print ( "inputChannels: {}" . format ( input_channels ) ) print ( "outputChannels: {}" . format ( output_channels ) )