MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / out_shape

Method out_shape

tensorflow/core/kernels/reduction_ops_common.cc:29–33  ·  view source on GitHub ↗

The final output shape must be allocated with this shape.

Source from the content-addressed store, hash-verified

27
28// The final output shape must be allocated with this shape.
29TensorShape ReductionHelper::out_shape() const {
30 TensorShape shape;
31 for (auto size : out_shape_) shape.AddDim(size);
32 return shape;
33}
34
35TensorShape ReductionHelper::shuffled_shape() {
36 const int dims = data_reshape_.size();

Callers 1

ComputeMethod · 0.80

Calls 1

AddDimMethod · 0.45

Tested by

no test coverage detected