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

Method c

tensorflow/go/operation.go:172–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (p Consumer) c() C.TF_Input {
173 if p.Op == nil {
174 // Attempt to provide a more useful panic message than "nil
175 // pointer dereference".
176 panic("nil-Operation. Consumer objects should only be created by a call to Output.Consumers")
177 }
178 return C.TF_Input{oper: p.Op.c, index: C.int(p.Index)}
179}
180
181// DataType returns the type of the input.
182func (p Consumer) DataType() DataType {

Callers 2

DataTypeMethod · 0.95
ProducerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected