TypeError: Einem Op außerhalb des Funktionserstellungscodes wird ein Graph-Tensor übergeben

Ich erhalte die folgende Ausnahme TypeError: An op outside of the function building code is being passed a "Graph" tensor. It is possible to have Graph tensors leak out of the function building context by including a tf.init_scope in your function building code. For example, the following function...