TrainingExtensions/tensorflow/src/python/aimet_tensorflow/common/connectedgraph.py
def _add_children_ops_to_op_queue(self, op: tf.Operation) -> int:
        """
        Utility function for adding all children of op to self._op_queue
        :param op: Op whose children will be added to op_queue
        :return: Number of child ops added to the queue
        """
        num_ops_added = 0
        for output_tensor in op.outputs:
            for output_op in output_tensor.consumers():
                if output_op in self._valid_ops:
                    self._op_queue.append((output_op, op, output_tensor.shape))
                    num_ops_added += 1
        return num_ops_added

        Utility function for adding all children of op to self._op_queue
        :param op: Op whose children will be added to op_queue
        :return: Number of child ops added to the queue
        
Utility function for adding all children of op to self._op_queue
Utility function for adding all children of op to self . _op_queue
def _add_children_ops_to_op_queue(self, op: tf.Operation) -> int:
        num_ops_added = 0
        for output_tensor in op.outputs:
            for output_op in output_tensor.consumers():
                if output_op in self._valid_ops:
                    self._op_queue.append((output_op, op, output_tensor.shape))
                    num_ops_added += 1
        return num_ops_added
def _add_children_ops_to_op_queue ( self , op : tf . Operation ) -> int : num_ops_added = 0 for output_tensor in op . outputs : for output_op in output_tensor . consumers ( ) : if output_op in self . _valid_ops : self . _op_queue . append ( ( output_op , op , output_tensor . shape ) ) num_ops_added += 1 return num_ops_added
Utility function for adding all children of op to self._op_queue
Utility function for adding all children of op to self . _op_queue
"""
        Utility function for adding all children of op to self._op_queue
        :param op: Op whose children will be added to op_queue
        :return: Number of child ops added to the queue
        """
Number of child ops added to the queue
Number of child ops added to the queue
self
op
tf.Operation
Op whose children will be added to op_queue
Op whose children will be added to op_queue