4 writes to input
Microsoft.ML.OnnxTransformerTest (4)
OnnxTransformTests.cs (4)
802
new InputWithCustomShape(){
input
= new float[] { 1.1f, 1.3f, 1.2f, 1.9f, 1.3f, 1.2f, 1.1f, 1.3f, 1.8f } },
807
new InputWithCustomShape(){
input
= new float[] { 0f, 0f, 1f, 1f, 0f, 0f, 1f, 0f, 0f } }
972
new InputWithCustomShape(){
input
= new float[] { 1.1f, 1.3f, 1.2f, 1.9f, 1.3f, 1.2f, 1.1f, 1.3f, 1.8f } },
977
new InputWithCustomShape(){
input
= new float[] { 0f, 0f, 1f, 1f, 0f, 0f, 1f, 0f, 0f } }
5 references to input
Microsoft.ML.OnnxTransformerTest (5)
OnnxTransformTests.cs (5)
810
var shapeDictionary = new Dictionary<string, int[]>() { { nameof(InputWithCustomShape.
input
), new int[] { 3, 3 } } };
822
new[] { nameof(PredictionWithCustomShape.argmax) }, new[] { nameof(InputWithCustomShape.
input
) },
829
nameof(PredictionWithCustomShape.argmax), nameof(InputWithCustomShape.
input
),
980
var shapeDictionary = new Dictionary<string, int[]>() { { nameof(InputWithCustomShape.
input
), new int[] { 3, 3 } } };
985
nameof(InputWithCustomShape.
input
), modelFile, shapeDictionary, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);