| 17 | { |
| 18 | |
| 19 | void UpdateOutputSlotToFp32(OutputSlot& outputSlot) |
| 20 | { |
| 21 | const TensorInfo& origTensorInfo = outputSlot.GetTensorInfo(); |
| 22 | TensorInfo newTensorInfo(origTensorInfo); |
| 23 | newTensorInfo.SetDataType(DataType::Float32); |
| 24 | outputSlot.SetTensorInfo(newTensorInfo); |
| 25 | } |
| 26 | |
| 27 | void ChangeOutputFp16ToFp32(Layer& layer) |
| 28 | { |
no test coverage detected