Home
last modified time | relevance | path

Searched refs:reduction_indices_shape (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer.cc106 const TensorShapeProto& reduction_indices_shape = in Optimize() local
108 if (NumCoefficients(reduction_indices_shape) == 1) { in Optimize()
Dconstant_folding.cc756 PartialTensorShape reduction_indices_shape(reduction_indices_prop.shape()); in MaterializeReductionIndices() local
757 const int num_reduction_indices = reduction_indices_shape.num_elements(); in MaterializeReductionIndices()
2737 const TensorShapeProto& reduction_indices_shape = in IsReductionWithConstantIndices() local
2739 *indices_is_empty = TensorShape(reduction_indices_shape).num_elements() == 0; in IsReductionWithConstantIndices()