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

Method DataType

tensorflow/go/operation.go:182–184  ·  view source on GitHub ↗

DataType returns the type of the input.

()

Source from the content-addressed store, hash-verified

180
181// DataType returns the type of the input.
182func (p Consumer) DataType() DataType {
183 return DataType(C.TF_OperationInputType(p.c()))
184}
185
186// Producer returns the Output that is connected to this Consumer.
187func (p Consumer) Producer() Output {

Callers

nothing calls this directly

Calls 2

cMethod · 0.95
DataTypeTypeAlias · 0.70

Tested by

no test coverage detected