class_docstr: Builds a DNN subnetwork for AdaNet.
docstr: See `adanet.subnetwork.Builder`.
docstr_tok: ["See","`","adanet.subnetwork.Builder","`","."]
code: def build_mixture_weights_train_op(
      self, loss, var_list, logits, labels, iteration_step, summary
  ):
      """See `adanet.subnetwork.Builder`."""
  
      if not self._learn_mixture_weights:
          return tf.no_op("mixture_weights_train_op")
  
      # NOTE: The `adanet.Estimator` increments the global step.
      return self._optimizer.minimize(loss=loss, var_list=var_list)
  
file_path: adanet/adanet/examples/simple_dnn.py
imports: import functools
  import adanet
  import tensorflow.compat.v2
label_desc: Use image node_id 4 for calling the _SimpleDNNBuilder obj's underlying member method code with example usage: obj.build_mixture_weights_train_op(loss, var_list, logits, labels, iteration_step, summary) and returns: self, tf