parameters: (self)
return_statement: return inputs, outputs
docstring: Deduce parameters
docstring_summary: Deduce parameters
docstring_tokens: Deduce parameters
function: def deduce_parameters(self):
          """Deduce parameters"""
          inputs, outputs = [], []
          for op in self.ops:
              for t in op.inputs:
                  if t not in inputs and t.op not in self.ops:
                      inputs.append(t)
              if op.output in outputs:
                  continue
              if op.output.para_type == Tensor.PARA_OUTPUT or not op.output.to_ops:
                  outputs.append(op.output)
                  continue
              if any([succ not in self.ops for succ in op.output.to_ops]):
                  outputs.append(op.output)
          if self.inputs:
              inputs = self.inputs
  
          if self.outputs:
              outputs = self.outputs
          return inputs, outputs
function_tokens: def deduce_parameters ( self ) : inputs , outputs = [ ] , [ ] for op in self . ops : for t in op . inputs : if t not in inputs and t . op not in self . ops : inputs . append ( t ) if op . output in outputs : continue if op . output . para_type == Tensor . PARA_OUTPUT or not op . output . to_ops : outputs . append ( op . output ) continue if any ( [ succ not in self . ops for succ in op . output . to_ops ] ) : outputs . append ( op . output ) if self . inputs : inputs = self . inputs if self . outputs : outputs = self . outputs return inputs , outputs