News
Learn how to use the repeat() function in grid to create flexible and responsive layouts. Discover different arguments, patterns, and keywords for the repeat() function. Sign in to view more content ...
I didn't find repeat function in python API. I have a tensor A with shape of (1,3,512), and a tensor B with dynamic shape (-1,3,512), how to repeat copy tensor A on axis 0 to have same shape with ...
Numpy has a good function called numpy.repeat() that does exactly this, but returns an ndarray instead of a pandas series. Also numpy.zeros() for the very common case where we want a vector of zeros.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results