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

Method DataType

tensorflow/go/operation.go:92–94  ·  view source on GitHub ↗

DataType returns the type of elements in the tensor produced by p.

()

Source from the content-addressed store, hash-verified

90
91// DataType returns the type of elements in the tensor produced by p.
92func (p Output) DataType() DataType {
93 return DataType(C.TF_OperationOutputType(p.c()))
94}
95
96// Shape returns the (possibly incomplete) shape of the tensor produced p.
97func (p Output) Shape() Shape {

Callers

nothing calls this directly

Calls 2

cMethod · 0.95
DataTypeTypeAlias · 0.70

Tested by

no test coverage detected