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