Get the index-th output of the operation Parameters ---------- index : int The index size. Returns ------- out : Tensor The i-th output.
(self, index)
| 99 | """Represent an operation that generates a tensor""" |
| 100 | |
| 101 | def output(self, index): |
| 102 | """Get the index-th output of the operation |
| 103 | |
| 104 | Parameters |
| 105 | ---------- |
| 106 | index : int |
| 107 | The index size. |
| 108 | |
| 109 | Returns |
| 110 | ------- |
| 111 | out : Tensor |
| 112 | The i-th output. |
| 113 | """ |
| 114 | return _ffi_api.OpGetOutput(self, index) |
| 115 | |
| 116 | @property |
| 117 | def num_outputs(self): |
no outgoing calls