RFC: add support for creating a new array by tiling a provided array #655
Labels
API extension
Adds new functions or objects to the API.
topic: Manipulation
Array manipulation and transformation.
Milestone
This RFC proposes adding support to the array API specification for creating a new array by tiling a provided array.
Overview
Based on array comparison data, the API is available in all array libraries.
Prior art
Proposal
repetitions: the number of repetitions of
x
along each axis. LetN = len(repetitions)
and letM = len(x.shape)
.M < N
, thenx
must be broadcasted to beN
dimensional by prepending new axes.M > N
, thenrepetitions
must be broadcasted by prepending new axes.Questions
int
forrepetitions
. TensorFlow requiresrepetitions
to be aTensor
. All array libraries apart from TensorFlow allowrepetitions
to be a tuple. Shouldrepetitions
be typed more strictly?Related
tile
: Common APIs across array libraries (1 year later) #187 (comment)The text was updated successfully, but these errors were encountered: