Skip to content

Modified how DataViewTypes are registered #4187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed failing test cases
While working locally, the test were not working on the CI job. this
appeared to be due to issues with path for the model, as well as not
using OnnxFact.
  • Loading branch information
Brian Stark committed Sep 10, 2019
commit 89826079e5140ac6204de1d21b983944e88ab5bf
5 changes: 3 additions & 2 deletions test/Microsoft.ML.Tests/OnnxSequenceTypeWithAttributesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Xunit.Abstractions;
using System.Linq;
using System.IO;
using Microsoft.ML.TestFramework.Attributes;

namespace Microsoft.ML.Tests
{
Expand Down Expand Up @@ -46,10 +47,10 @@ public static PredictionEngine<FloatInput, OutputObj> LoadModel(string onnxModel
return ctx.Model.CreatePredictionEngine<FloatInput, OutputObj>(model);
}

[Fact]
[OnnxFact]
public void OnnxSequenceTypeWithColumnNameAttributeTest()
{
var modelFile = @"zipmap/TestZipMapString.onnx";
var modelFile = Path.Combine(Directory.GetCurrentDirectory(), "zipmap", "TestZipMapString.onnx");
var predictor = LoadModel(modelFile);

FloatInput input = new FloatInput() { Input = new float[] { 1.0f, 2.0f, 3.0f } };
Expand Down