class_docstr: Interface for tensorflow models.
code: def random_layer_generator_length(self) -> int:
      return len(
          [i for i in self.model.layers if len(i.get_weights()) > 0]
      )
  
imports: from __future__ import annotations
  from typing import Dict, Optional, Tuple, List, Union, Generator
  from keras.layers import Dense
  from keras import activations
  from keras import Model
  from keras.models import clone_model
  import numpy
  import tensorflow
  from warnings import warn
  from cachetools import cachedmethod, LRUCache
  import operator
  from quantus.helpers.model.model_interface import ModelInterface
  from quantus.helpers import utils
label_desc: Use image node_id 16 for calling the TensorFlowModel obj's underlying member method code with example usage: obj.random_layer_generator_length() and returns: len