(data, dataMean, dataStd)
| 46 | * normalized to have zero mean and unit standard deviation. |
| 47 | */ |
| 48 | export function normalizeTensor(data, dataMean, dataStd) { |
| 49 | return data.sub(dataMean).div(dataStd); |
| 50 | } |
nothing calls this directly
no outgoing calls
no test coverage detected