dotnet / dotnet/runtime

Questions / issues with `Tensor.ResizeTo`

Open
#128,555 1 comment 0 reactions 1 assignee Claimed by @tannergooding View on GitHub
area-System.Numerics.Tensors question
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

1. According to the documenation, if the destination is smaller than source, any remaining elements should be filled with `0s`, but this isn't the case.
2. What are/should be the restrictions and behaviour with broadcasted source or destination? It doesn't seem to be covered by documentation and there's no logic for this in the code at the moment.

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.