diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2019-10-02 12:44:06 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2019-10-02 12:44:06 -0700 |
commit | 60ae24ee1a6c16114de456d77fcfba6f5a1160ca (patch) | |
tree | 7b9d5463018055571a5050ca31a8d3df12a3e6fc /unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h | |
parent | 6e40454a6e6cc57c07c7340148657c985ca6c928 (diff) |
Add block evaluation to TensorReshaping/TensorCasting/TensorPadding/TensorSelect
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h index 9e4fae99a..dc9551d32 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h @@ -1247,10 +1247,10 @@ struct TensorEvaluator<const TensorBroadcastingOp<Broadcast, ArgType>, Device> ScalarNoConst, NumDims, typename ArgTensorBlock::XprType, Index> TensorBlockAssignment; - typename TensorBlockAssignment::Dst assignment_dst( - input_block_sizes, input_block_strides, *materialized_input); - - TensorBlockAssignment::Run(assignment_dst, input_block.expr()); + TensorBlockAssignment::Run( + TensorBlockAssignment::target(input_block_sizes, input_block_strides, + *materialized_input), + input_block.expr()); input_buffer = *materialized_input; } |