swift
a0623f72 - [TF] Rename `ShapedArray` initializers to `init(repeating:shape:)`. (#23352)

Commit
6 years ago
[TF] Rename `ShapedArray` initializers to `init(repeating:shape:)`. (#23352) Deprecate `init(shape:repeating:)` for `ShapedArray` and `ShapedArraySlice` in favor of `init(repeating:shape:)`. This is consistent with APIs like `Tensor` and `tf.constant`. Update tests to use new initializers.
Author
Committer
Parents
Loading