()
| 126 | } |
| 127 | } |
| 128 | async load(): Promise<tf.io.ModelArtifacts> { |
| 129 | return Array.isArray(this.path) ? this.loadBinaryModel() : |
| 130 | this.loadJSONModel(); |
| 131 | } |
| 132 | |
| 133 | protected async loadBinaryModel(): Promise<tf.io.ModelArtifacts> { |
| 134 | const topologyPath = this.path[0]; |
no test coverage detected