DataType returns the type of elements in the tensor produced by p.
()
| 90 | |
| 91 | // DataType returns the type of elements in the tensor produced by p. |
| 92 | func (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. |
| 97 | func (p Output) Shape() Shape { |