onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests.Common/Tensors
Dmitri Smirnov bd4d011142
[C#] Rename unreleased API, add utilities (#16806)
### Description
1. rename OrtValue.FillStringTensorElement to StringTensorSetElementAt .
To the API user I think we're conceptually setting the string at an
offset in the tensor with is roughly equivalent to `List<string> list
... list[index] = "value"`.
2. While working on new inference examples, I noticed that I am still
inclined to use `DenseTensor` for N-D indexing. Added `GetStrides()` and
`GetIndex()` from strides for long dims, so the user can obtain strides
and translate N-D indices into a flat index to operate directly on the
native `OrtValue` buffers. Expose these functions to the user.
3. Make sure we generate docs for C# public static  functions.
2023-08-02 10:06:42 -07:00
..
ArrayTensorExtensionsTests.cs [C#] Rename unreleased API, add utilities (#16806) 2023-08-02 10:06:42 -07:00
NativeMemory.cs Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
TensorArithmetic.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorArithmetic.tt Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorExtensions.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorOperations.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorOperations.tt Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorTemplate.ttinclude Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
TensorTests.cs [C#] Implement OrtValue APIs (#16206) 2023-06-29 08:59:23 -07:00
TensorTestsBase.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00