Output represents one of the outputs of an operation in the graph. Has a DataType (and eventually a Shape). May be passed as an input argument to a function for adding operations to a graph, or to a Session's Run() method to fetch that output as a tensor.
| 81 | // function for adding operations to a graph, or to a Session's Run() method to |
| 82 | // fetch that output as a tensor. |
| 83 | type Output struct { |
| 84 | // Op is the Operation that produces this Output. |
| 85 | Op *Operation |
| 86 | |
| 87 | // Index specifies the index of the output within the Operation. |
| 88 | Index int |
| 89 | } |
| 90 | |
| 91 | // DataType returns the type of elements in the tensor produced by p. |
| 92 | func (p Output) DataType() DataType { |
nothing calls this directly
no outgoing calls
no test coverage detected