Method
write
(values: backend_util.BackendValues, shape: number[], dtype: DataType)
Source from the content-addressed store, hash-verified
| 274 | } |
| 275 | |
| 276 | write(values: backend_util.BackendValues, shape: number[], dtype: DataType): |
| 277 | DataId { |
| 278 | const dataId = {}; |
| 279 | this.move(dataId, values, shape, dtype, 1); |
| 280 | return dataId; |
| 281 | } |
| 282 | |
| 283 | applyActivation<T extends Tensor>( |
| 284 | input: T, activation: string, preluActivationWeights?: Tensor, |
Callers
nothing calls this directly
Tested by
no test coverage detected