Skip to content

Commit

Permalink
added public value varibale to NamedOnnxValue (microsoft#3347)
Browse files Browse the repository at this point in the history
Co-authored-by: cassieview <[email protected]>
  • Loading branch information
cassiebreviu and cassieview authored Mar 30, 2020
1 parent 355f39d commit 2b10e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions csharp/src/Microsoft.ML.OnnxRuntime/NamedOnnxValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static NamedOnnxValue CreateFromTensor<T>(string name, Tensor<T> value)
}

public string Name { get { return _name; } set { _name = value; } }
public Object Value { get { return _value; } set { _value = value; } }

/// <summary>
/// Try-get value as a Tensor&lt;T&gt;.
Expand Down

0 comments on commit 2b10e62

Please sign in to comment.