title: How insert data in an ONNX as float32[N,60,1] in ML.NET
body: <p>I'm using ML.NET and I want to insert as input a <strong>float32[N, 60, 1]</strong>(as in the picture). I don't figure how to pass the data. I'm trying with this class:</p>
  <pre><code>public class OnnxInput
  {
      [ColumnName(&quot;lstm_input&quot;)]
      public float lstm_input { get; set; }
  }
  
  var input = new OnnxInput[length][];
  
  // Here I load the data into the input variable
  
  var dataView = mlContext.Data.LoadFromEnumerable(input);
  var pipeline = mlContext.Transforms.
              ApplyOnnxModel(
                      modelFile: modelLocation,
                      inputColumnNames: new[] { TinyYoloModelSettings.ModelInput },
                      outputColumnNames: new[] { TinyYoloModelSettings.ModelOutput }
                  );
  var model = pipeline.Fit(data);
  </code></pre>
  <p>creating this matrix, when I try to fit the data into the pipeline I have the error: <strong>System.ArgumentOutOfRangeException: 'Could not determine an IDataView type and registered custom types for member SyncRoot (Parameter 'rawType')'</strong></p>
  <p>Trying with another approach, with this input class:</p>
  <pre><code>public class OnnxInput
  {
      [ColumnName(&quot;lstm_input&quot;)]
      public float[] lstm_input { get; set; }
  }
  
  var input = new OnnxInput[realLength];
  
  // Here I load the data into the input variable
  
  var dataView = mlContext.Data.LoadFromEnumerable(input);
  var pipeline = mlContext.Transforms.
              ApplyOnnxModel(
                      modelFile: modelLocation,
                      inputColumnNames: new[] { TinyYoloModelSettings.ModelInput },
                      outputColumnNames: new[] { TinyYoloModelSettings.ModelOutput }
                  );
  var model = pipeline.Fit(data);
  </code></pre>
  <p>creating this matrix, when I try to fit the data into the pipeline I have the error: <strong>System.InvalidOperationException: 'Variable length input columns not supported'</strong></p>
  <p><a href="https://i.stack.imgur.com/0rRa0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0rRa0.png" alt="enter image description here" /></a></p>