Skip to content

Instantly share code, notes, and snippets.

@mdfarragher
Created November 5, 2019 15:47
Show Gist options
  • Save mdfarragher/8570c64ae445d5dd49560a08d0d23401 to your computer and use it in GitHub Desktop.
Save mdfarragher/8570c64ae445d5dd49560a08d0d23401 to your computer and use it in GitHub Desktop.
// build features and labels
var features = NetUtil.Var(new int[] { 7 }, DataType.Float);
var labels = NetUtil.Var(new int[] { 1 }, DataType.Float);
// the rest of the code goes here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment