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

Function makeOutputList

tensorflow/go/op/wrappers.go:29–39  ·  view source on GitHub ↗
(op *tf.Operation, start int, output string)

Source from the content-addressed store, hash-verified

27type optionalAttr map[string]interface{}
28
29func makeOutputList(op *tf.Operation, start int, output string) ([]tf.Output, int, error) {
30 size, err := op.OutputListSize(output)
31 if err != nil {
32 return nil, start, err
33 }
34 list := make([]tf.Output, size)
35 for i := 0; i < size; i++ {
36 list[i] = op.Output(start + i)
37 }
38 return list, start + size, nil
39}
40
41// Generates fingerprint values.
42//

Callers 15

SplitFunction · 0.85
ConcatOffsetFunction · 0.85
OrderedMapUnstageNoKeyFunction · 0.85
OrderedMapUnstageFunction · 0.85
OrderedMapPeekFunction · 0.85
MapUnstageFunction · 0.85
MapPeekFunction · 0.85
UnstageFunction · 0.85
QueueDequeueUpToV2Function · 0.85
QueueDequeueManyV2Function · 0.85
QueueDequeueV2Function · 0.85

Calls 3

makeFunction · 0.85
OutputListSizeMethod · 0.80
OutputMethod · 0.45

Tested by

no test coverage detected