1 instantiation of FloatInput
Microsoft.ML.Tests (1)
OnnxSequenceTypeWithAttributesTest.cs (1)
62FloatInput input = new FloatInput() { Input = new float[] { 1.0f, 2.0f, 3.0f } };
7 references to FloatInput
Microsoft.ML.Tests (7)
OnnxSequenceTypeWithAttributesTest.cs (7)
41public static PredictionEngine<FloatInput, OutputObj> LoadModel(string onnxModelFilePath) 44var dataView = ctx.Data.LoadFromEnumerable(new List<FloatInput>()); 53return ctx.Model.CreatePredictionEngine<FloatInput, OutputObj>(model); 62FloatInput input = new FloatInput() { Input = new float[] { 1.0f, 2.0f, 3.0f } }; 80public static PredictionEngine<FloatInput, WrongOutputObj> LoadModelWithWrongCustomType(string onnxModelFilePath) 83var dataView = ctx.Data.LoadFromEnumerable(new List<FloatInput>()); 92return ctx.Model.CreatePredictionEngine<FloatInput, WrongOutputObj>(model);