class_docstr: Option Builder for Profiling API.
  
  For tutorial on the options, see
  https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/profiler/g3doc/options.md
  
  ```python
  # Users can use pre-built options:
  opts = (
      tf.profiler.ProfileOptionBuilder.trainable_variables_parameter())
  
  # Or, build your own options:
  opts = (tf.compat.v1.profiler.ProfileOptionBuilder()
      .with_max_depth(10)
      .with_min_micros(1000)
      .select(['accelerator_micros'])
      .with_stdout_output()
      .build()
  
  # Or customize the pre-built options:
  opts = (tf.compat.v1.profiler.ProfileOptionBuilder(
      tf.profiler.ProfileOptionBuilder.time_and_memory())
      .with_displaying_options(show_name_regexes=['.*rnn.*'])
      .build())
  
  # Finally, profiling with the options:
  _ = tf.compat.v1.profiler.profile(tf.compat.v1.get_default_graph(),
                          run_meta=run_meta,
                          cmd='scope',
                          options=opts)
  ```
class_docstr_tok: ["Option","Builder","for","Profiling","API",".","For","tutorial","on","the","options",",","see","https",":","\/\/github.com\/tensorflow\/tensorflow\/tree\/master\/tensorflow\/core\/profiler\/g3doc\/options.md","``","`","python","#","Users","can","use","pre-built","options",":","opts","=","(","tf.profiler.ProfileOptionBuilder.trainable_variables_parameter","(",")",")","#","Or",",","build","your","own","options",":","opts","=","(","tf.compat.v1.profiler.ProfileOptionBuilder","(",")",".with_max_depth","(","10",")",".with_min_micros","(","1000",")",".select","(","[","'accelerator_micros","'","]",")",".with_stdout_output","(",")",".build","(",")","#","Or","customize","the","pre-built","options",":","opts","=","(","tf.compat.v1.profiler.ProfileOptionBuilder","(","tf.profiler.ProfileOptionBuilder.time_and_memory","(",")",")",".with_displaying_options","(","show_name_regexes=","[","'.","*","rnn",".","*","'","]",")",".build","(",")",")","#","Finally",",","profiling","with","the","options",":","_","=","tf.compat.v1.profiler.profile","(","tf.compat.v1.get_default_graph","(",")",",","run_meta=run_meta",",","cmd='scope","'",",","options=opts",")","``","`"]
docstr: Whether only account the statistics of displayed profiler nodes.
  
  Args:
    is_true: If true, only account statistics of nodes eventually
        displayed by the outputs.
        Otherwise, a node's statistics are accounted by its parents
        as long as it's types match 'account_type_regexes', even if
        it is hidden from the output, say, by hide_name_regexes.
  Returns:
    self
docstr_tok: ["Whether","only","account","the","statistics","of","displayed","profiler","nodes",".","Args",":","is_true",":","If","true",",","only","account","statistics","of","nodes","eventually","displayed","by","the","outputs",".","Otherwise",",","a","node","'s","statistics","are","accounted","by","its","parents","as","long","as","it","'s","types","match","'account_type_regexes","'",",","even","if","it","is","hidden","from","the","output",",","say",",","by","hide_name_regexes",".","Returns",":","self"]
code: def account_displayed_op_only(self, is_true):
      """Whether only account the statistics of displayed profiler nodes.
  
      Args:
        is_true: If true, only account statistics of nodes eventually
            displayed by the outputs.
            Otherwise, a node's statistics are accounted by its parents
            as long as it's types match 'account_type_regexes', even if
            it is hidden from the output, say, by hide_name_regexes.
      Returns:
        self
      """
      self._options["account_displayed_op_only"] = is_true
      return self
  
imports: import copy
  from tensorflow.python.profiler import tfprof_logger
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 14 for calling the ProfileOptionBuilder obj's underlying member method code with example usage: obj.account_displayed_op_only(is_true) and returns: self