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

Function ptrOutput

tensorflow/go/session.go:389–394  ·  view source on GitHub ↗
(l []C.TF_Output)

Source from the content-addressed store, hash-verified

387}
388
389func ptrOutput(l []C.TF_Output) *C.TF_Output {
390 if len(l) == 0 {
391 return nil
392 }
393 return &l[0]
394}
395
396func ptrTensor(l []*C.TF_Tensor) **C.TF_Tensor {
397 if len(l) == 0 {

Callers 2

RunMethod · 0.85
RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected