MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Output

Struct Output

tensorflow/go/operation.go:83–89  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

81// function for adding operations to a graph, or to a Session's Run() method to
82// fetch that output as a tensor.
83type 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.
92func (p Output) DataType() DataType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected