code: def _get_inputs(op, only_differentiable):
      op_inputs = op.inputs
      if only_differentiable:
          return op_inputs if is_differentiable(op) else []
      else:
          return op_inputs
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 11 for calling a global function with example usage: _get_inputs(op, only_differentiable) and returns: unknown, op_inputs