Make sure that additional ops added by Savers to read ResourceVariables are...
Make sure that additional ops added by Savers to read ResourceVariables are added to the graph in a deterministic way. For ResourceVariables (op "VarHandleOp"), ops.internal_convert_to_tensor will add new ops such as "Read_8/ReadVariableOp". If op_list is cast to a set, as before this change, then adding these new ops made graph construction non-deterministic. PiperOrigin-RevId: 177185279
Loading
Please sign in to comment