def inspect_layers(self, last=-1, verbose=False):
        """ Prints the summary for last "last" number of layers.

        Parameters
        ----------
        last: int
             The numbers of layers to inspect, starting from the last one.
        verbose: bool
            Whether to display layer-specific parameters or not.
        """
        n_layers = len(self.nn_spec.layers)
        if last < 0:
            last = n_layers
        for i, alayer in enumerate(self.nn_spec.layers[::-1]):
            if i >= last:
                break
            (
                layer_type,
                name,
                in_blobs,
                out_blobs,
                params_info,
            ) = _summarize_network_layer_info(alayer)
            print(
                "[Id: {}], Name: {} (Type: {})".format(
                    n_layers - i - 1, name, layer_type
                )
            )
            print(" " * 10 + "Updatable: {}".format(alayer.isUpdatable))
            print(" " * 10 + "Input blobs: {}".format(in_blobs))
            print(" " * 10 + "Output blobs: {}".format(out_blobs))
            if verbose and len(params_info) > 0:
                print(" " * 10 + "Parameters: ")
                for param in params_info:
                    print(" " * 14 + "{} = {}".format(param[0], param[1]))
 Prints the summary for last "last" number of layers.

        Parameters
        ----------
        last: int
             The numbers of layers to inspect, starting from the last one.
        verbose: bool
            Whether to display layer-specific parameters or not.
        
coremltools/models/neural_network/builder.py