Fetch shape information from the C API when enabled.
This change makes set_shapes_for_outputs fetch the already-computed tensor shapes from the C API, rather than calling the C++ shape function. It also moves the set_shapes_for_outputs call so it works with Operations created from TF_Operations. PiperOrigin-RevId: 177088786
Loading
Please sign in to comment