-
-
Save mdfarragher/84c1e30c8af705c487a0683adfa7a5f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
open System.IO | |
open Microsoft.ML | |
open Microsoft.ML.Data | |
open Microsoft.ML.Transforms | |
/// The Digit class represents one mnist digit. | |
[<CLIMutable>] | |
type Digit = { | |
[<LoadColumn(0)>] Number : float32 | |
[<LoadColumn(1, 784)>] [<VectorType(784)>] PixelValues : float32[] | |
} | |
/// The DigitPrediction class represents one digit prediction. | |
[<CLIMutable>] | |
type DigitPrediction = { | |
Score : float32[] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment