what is tf repeat 28 29

Solutions on MaxInterview for what is tf repeat 28 29 by the best coders in the world

showing results for - "what is tf repeat 28 29"
Isabel
17 Jan 2016
1# An N -dimensional Tensor. repeats. An 1-D int Tensor. The number of repetitions for each element. repeats is broadcasted to fit the shape of the given axis.
2
3repeat(['a', 'b', 'c'], repeats=[3, 0, 2], axis=0)
4
5# Result
6
7numpy=array([b'a', b'a', b'a', b'c', b'c'], dtype=object)>