(op, only_differentiable)
| 227 | |
| 228 | |
| 229 | def _get_inputs(op, only_differentiable): |
| 230 | op_inputs = op.inputs |
| 231 | if only_differentiable: |
| 232 | return op_inputs if is_differentiable(op) else [] |
| 233 | else: |
| 234 | return op_inputs |
| 235 | |
| 236 | |
| 237 | def get_backward_walk_ops(seed_ops, |
no test coverage detected