mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Automated Code Change
PiperOrigin-RevId: 784462084
This commit is contained in:
parent
d801474a83
commit
07c10a4c2a
|
|
@ -2268,7 +2268,7 @@ absl::Status LayoutAssignment::AssignLayouts(LayoutConstraints& constraints) {
|
|||
if (subshape->IsArrayOrBuffer()) {
|
||||
const Shape& result_shape =
|
||||
ShapeUtil::GetSubshape(result_layout.shape(), index);
|
||||
if (result_shape.layout().tiles_size() != 0) {
|
||||
if (result_shape.layout().tiles().size() != 0) {
|
||||
subshape->mutable_layout()->mutable_tiles()->assign(
|
||||
result_shape.layout().tiles().begin(),
|
||||
result_shape.layout().tiles().end());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user