(tensorsMap: NamedTensorsMap)
| 213 | } |
| 214 | |
| 215 | private cloneTensorMap(tensorsMap: NamedTensorsMap): NamedTensorsMap { |
| 216 | return Object.fromEntries( |
| 217 | Object.entries(tensorsMap).map(([name, tensorsList]) => { |
| 218 | return [name, this.cloneTensorList(tensorsList)]; |
| 219 | })); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * Executes the inference for given input tensors. |
no test coverage detected