()
| 124 | } |
| 125 | |
| 126 | func (p Output) c() C.TF_Output { |
| 127 | if p.Op == nil { |
| 128 | // Attempt to provide a more useful panic message than "nil |
| 129 | // pointer dereference". |
| 130 | panic("nil-Operation. If the Output was created with a Scope object, see Scope.Err() for details.") |
| 131 | } |
| 132 | return C.TF_Output{oper: p.Op.c, index: C.int(p.Index)} |
| 133 | } |
| 134 | |
| 135 | func (p Output) canBeAnInput() {} |
| 136 |
no outgoing calls
no test coverage detected