You can add_collection(name, operation/tensor)
on the graph, but get_collection(name)
returns a list of values in the collection with the given name
.
get_tensor_by_name(name)
returns the tensor with the given name
.
get_operation_by_name(name)
returns operation with data name
.
source
share