Tensor<T>.TryFlattenTo(Span<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flattens the contents of this Tensor into the provided Span<T>.
public:
virtual bool TryFlattenTo(Span<T> destination);
public bool TryFlattenTo(scoped Span<T> destination);
abstract member TryFlattenTo : Span<'T> -> bool
override this.TryFlattenTo : Span<'T> -> bool
Public Function TryFlattenTo (destination As Span(Of T)) As Boolean
Parameters
- destination
- Span<T>
The span to copy items into.
Returns
Implements
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.