executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
tensorflow-opsOperate on Graph Nets GraphsTuple objects backed by TensorFlow tensors.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task already has graph data in Graph Nets GraphsTuple
form, or has data dicts/NetworkX samples that must become TensorFlow-backed
GraphsTuple values for batching, slicing, padding, tf.function, or TF1
session feeding.
GraphsTuples with utils_tf.data_dicts_to_graphs_tuple.placeholders_from_data_dicts,
placeholders_from_networkxs, get_feed_dict, and
make_runnable_in_session.tf.function signatures with nest_to_numpy and
specs_from_graphs_tuple.concat, repeat, identity,
stop_gradient, get_graph, and get_num_graphs.GraphsTupleSize, get_graphs_tuple_size,
pad_graphs_tuple, remove_graphs_tuple_padding, and get_mask.utils_np round trips, use
graph-data.Choose the TensorFlow execution style before writing code:
tf.Session, top-level tf.placeholder,
placeholders_from_*, get_feed_dict, and make_runnable_in_session when a
graph has None fields.tf.Session and tf.placeholder are not
available. Prefer eager tensors, utils_tf.nest_to_numpy, and
utils_tf.specs_from_graphs_tuple for tf.function input signatures. Do not
route TF2 users to placeholder APIs unless they explicitly own a compatible
TF1-style runtime.GraphsTuple with tensor-valued fields. Keep
NumPy/NetworkX-only conversion details in the graph-data sub-skill.None
fields for concat, scalar integer graph indices for get_graph, complete
fields for specs_from_graphs_tuple, and enough padding capacity for a dummy
graph when padding.tf.function use
when a utility rejects None feature fields.None fields with make_runnable_in_session immediately
before sess.run; in TF2, leave None fields as ordinary Python None
unless a utility explicitly requires tensors.python scripts/tf_ops_smoke.py --help, then run it in the intended Graph
Nets TensorFlow environment.