tf.graph_util.tensor_shape_from_node_def_name

tf.graph_util.tensor_shape_from_node_def_name(
    graph,
    input_name
)

Defined in tensorflow/python/framework/graph_util_impl.py.

Convenience function to get a shape from a NodeDef's input string.