The list of `Tensor` objects representing the data inputs of this op.
(self)
| 2155 | |
| 2156 | @property |
| 2157 | def inputs(self): |
| 2158 | """The list of `Tensor` objects representing the data inputs of this op.""" |
| 2159 | if self._inputs_val is None: |
| 2160 | tf_outputs = c_api.GetOperationInputs(self._c_op) |
| 2161 | # pylint: disable=protected-access |
| 2162 | retval = [ |
| 2163 | self.graph._get_tensor_by_tf_output(tf_output) |
| 2164 | for tf_output in tf_outputs |
| 2165 | ] |
| 2166 | # pylint: enable=protected-access |
| 2167 | self._inputs_val = Operation._InputList(retval) |
| 2168 | return self._inputs_val |
| 2169 | |
| 2170 | @property |
| 2171 | def _inputs(self): |