* Return the array of input tensor info. * * @doc {heading: 'Models', subheading: 'SavedModel'}
()
| 207 | * @doc {heading: 'Models', subheading: 'SavedModel'} |
| 208 | */ |
| 209 | get inputs(): ModelTensorInfo[] { |
| 210 | const entries = this.signature.inputs; |
| 211 | const results = Object.keys(entries).map((key: string) => entries[key]); |
| 212 | results.forEach((info: ModelTensorInfo) => { |
| 213 | info.name = info.name.replace(/:0$/, ''); |
| 214 | }); |
| 215 | return results; |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * Return the array of output tensor info. |
nothing calls this directly
no outgoing calls
no test coverage detected