(t)
| 177 | |
| 178 | # Compute and cache `output_shape_kept_dims` and `tile_scaling`. |
| 179 | def EvaluateAsTuple(t): |
| 180 | value = c_api.TF_TryEvaluateConstant_wrapper( |
| 181 | t.graph._c_graph, t._as_tf_output()) # pylint: disable=protected-access |
| 182 | assert value is not None |
| 183 | return tuple(value) |
| 184 | |
| 185 | output_shape_kept_dims = EvaluateAsTuple( |
| 186 | math_ops.reduced_shape(input_0_shape, axes)) |
no test coverage detected