DataType returns the type of the input.
()
| 180 | |
| 181 | // DataType returns the type of the input. |
| 182 | func (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. |
| 187 | func (p Consumer) Producer() Output { |