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

Method NumInputs

tensorflow/go/operation.go:75–77  ·  view source on GitHub ↗

NumInputs returns the number of inputs of op.

()

Source from the content-addressed store, hash-verified

73
74// NumInputs returns the number of inputs of op.
75func (op *Operation) NumInputs() int {
76 return int(C.TF_OperationNumInputs(op.c))
77}
78
79// Output represents one of the outputs of an operation in the graph. Has a
80// DataType (and eventually a Shape). May be passed as an input argument to a

Callers 6

AddInputMethod · 0.45
ConsumeInputMethod · 0.45
BM_KernelAndDeviceInitFunction · 0.45
BM_KernelAndDeviceRunFunction · 0.45
TESTFunction · 0.45
TestOperationInputsFunction · 0.45

Calls

no outgoing calls

Tested by 4

BM_KernelAndDeviceInitFunction · 0.36
BM_KernelAndDeviceRunFunction · 0.36
TESTFunction · 0.36
TestOperationInputsFunction · 0.36