* Return the array of output tensor info. * * @doc {heading: 'Models', subheading: 'SavedModel'}
()
| 221 | * @doc {heading: 'Models', subheading: 'SavedModel'} |
| 222 | */ |
| 223 | get outputs(): ModelTensorInfo[] { |
| 224 | const entries = this.signature.outputs; |
| 225 | const results = Object.keys(entries).map((key: string) => entries[key]); |
| 226 | results.forEach((info: ModelTensorInfo) => { |
| 227 | info.name = info.name.replace(/:0$/, ''); |
| 228 | }); |
| 229 | return results; |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Delete the SavedModel from nodeBackend and delete corresponding session in |
nothing calls this directly
no outgoing calls
no test coverage detected