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

Function _get_output_shapes

tensorflow/python/ops/cond_v2.py:742–749  ·  view source on GitHub ↗
(*branch_graph_outputs)

Source from the content-addressed store, hash-verified

740
741
742def _get_output_shapes(*branch_graph_outputs):
743 output_shapes = []
744 for out_by_branch in zip(*branch_graph_outputs):
745 shape = out_by_branch[0].shape
746 for other_out in out_by_branch[1:]:
747 shape = shape.most_specific_compatible_shape(other_out.shape)
748 output_shapes.append(shape)
749 return output_shapes
750
751
752def verify_captures(op_type, branch_graphs):

Callers 2

_build_condFunction · 0.85
_build_caseFunction · 0.85

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected