4 writes to input
Microsoft.ML.OnnxTransformerTest (4)
OnnxTransformTests.cs (4)
890
new InputWithCustomShape(){
input
= new float[] { 1.1f, 1.3f, 1.2f, 1.9f, 1.3f, 1.2f, 1.1f, 1.3f, 1.8f } },
895
new InputWithCustomShape(){
input
= new float[] { 0f, 0f, 1f, 1f, 0f, 0f, 1f, 0f, 0f } }
1060
new InputWithCustomShape(){
input
= new float[] { 1.1f, 1.3f, 1.2f, 1.9f, 1.3f, 1.2f, 1.1f, 1.3f, 1.8f } },
1065
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)
898
var shapeDictionary = new Dictionary<string, int[]>() { { nameof(InputWithCustomShape.
input
), new int[] { 3, 3 } } };
910
new[] { nameof(PredictionWithCustomShape.argmax) }, new[] { nameof(InputWithCustomShape.
input
) },
917
nameof(PredictionWithCustomShape.argmax), nameof(InputWithCustomShape.
input
),
1068
var shapeDictionary = new Dictionary<string, int[]>() { { nameof(InputWithCustomShape.
input
), new int[] { 3, 3 } } };
1073
nameof(InputWithCustomShape.
input
), modelFile, shapeDictionary, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);