Switch op_hint.py to use _set_attr.
Switch op_hint.py to use _set_attr.

This is in preparation for enabling the C API. Modifying an op's NodeDef
directly has no effect with the C API enabled.

PiperOrigin-RevId: 188754464

ghchinoy/tensorflow,xodus7/tensorflow,jalexvig/tensorflow,alsrgv/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,ageron/tensorflow,gautam1858/tensorflow,eaplatanios/tensorflow,apark263/tensorflow,snnn/tensorflow,gojira/tensorflow,dendisuhubdy/tensorflow,paolodedios/tensorflow,girving/tensorflow,cxxgtxy/tensorflow,kobejean/tensorflow,DavidNorman/tensorflow,benoitsteiner/tensorflow-xsmm,xzturn/tensorflow,ppwwyyxx/tensorflow,dendisuhubdy/tensorflow,eaplatanios/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,yanchen036/tensorflow,karllessard/tensorflow,brchiu/tensorflow,hfp/tensorflow-xsmm,aselle/tensorflow,manipopopo/tensorflow,lukeiwanski/tensorflow,gautam1858/tensorflow,jbedorf/tensorflow,aselle/tensorflow,benoitsteiner/tensorflow-xsmm,yanchen036/tensorflow,manipopopo/tensorflow,aldian/tensorflow,alshedivat/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,seanli9jan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alsrgv/tensorflow,gojira/tensorflow,drpngx/tensorflow,dendisuhubdy/tensorflow,eaplatanios/tensorflow,jalexvig/tensorflow,petewarden/tensorflow,caisq/tensorflow,eaplatanios/tensorflow,jart/tensorflow,xodus7/tensorflow,allenlavoie/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,aldian/tensorflow,jart/tensorflow,freedomtan/tensorflow,seanli9jan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,aselle/tensorflow,ghchinoy/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_saved_model,caisq/tensorflow,dendisuhubdy/tensorflow,Bismarrck/tensorflow,annarev/tensorflow,jendap/tensorflow,meteorcloudy/tensorflow,ZhangXinNan/tensorflow,jbedorf/tensorflow,caisq/tensorflow,alsrgv/tensorflow,gunan/tensorflow,karllessard/tensorflow,jart/tensorflow,frreiss/tensorflow-fred,nburn42/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,apark263/tensorflow,alsrgv/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dongjoon-hyun/tensorflow,freedomtan/tensorflow,arborh/tensorflow,aselle/tensorflow,kevin-coder/tensorflow-fork,renyi533/tensorflow,gautam1858/tensorflow,hfp/tensorflow-xsmm,Xeralux/tensorflow,dancingdan/tensorflow,dendisuhubdy/tensorflow,yongtang/tensorflow,caisq/tensorflow,asimshankar/tensorflow,theflofly/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,allenlavoie/tensorflow,kevin-coder/tensorflow-fork,adit-chandra/tensorflow,nburn42/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,dancingdan/tensorflow,allenlavoie/tensorflow,gunan/tensorflow,ageron/tensorflow,yongtang/tensorflow,karllessard/tensorflow,yanchen036/tensorflow,alshedivat/tensorflow,manipopopo/tensorflow,drpngx/tensorflow,jart/tensorflow,seanli9jan/tensorflow,snnn/tensorflow,tensorflow/tensorflow,theflofly/tensorflow,dendisuhubdy/tensorflow,ageron/tensorflow,frreiss/tensorflow-fred,allenlavoie/tensorflow,eaplatanios/tensorflow,aam-at/tensorflow,AnishShah/tensorflow,manipopopo/tensorflow,drpngx/tensorflow,xzturn/tensorflow,xodus7/tensorflow,arborh/tensorflow,Xeralux/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,brchiu/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,xodus7/tensorflow,jhseu/tensorflow,lukeiwanski/tensorflow,DavidNorman/tensorflow,Bismarrck/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,snnn/tensorflow,aldian/tensorflow,gunan/tensorflow,ZhangXinNan/tensorflow,alsrgv/tensorflow,aldian/tensorflow,ghchinoy/tensorflow,AnishShah/tensorflow,davidzchen/tensorflow,alshedivat/tensorflow,alsrgv/tensorflow,apark263/tensorflow,eaplatanios/tensorflow,DavidNorman/tensorflow,allenlavoie/tensorflow,karllessard/tensorflow,hehongliang/tensorflow,jart/tensorflow,dongjoon-hyun/tensorflow,ppwwyyxx/tensorflow,jalexvig/tensorflow,kevin-coder/tensorflow-fork,kobejean/tensorflow,nburn42/tensorflow,tensorflow/tensorflow,caisq/tensorflow,adit-chandra/tensorflow,manipopopo/tensorflow,xodus7/tensorflow,meteorcloudy/tensorflow,ZhangXinNan/tensorflow,jalexvig/tensorflow,jbedorf/tensorflow,snnn/tensorflow,jbedorf/tensorflow,jalexvig/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,apark263/tensorflow,jalexvig/tensorflow,gojira/tensorflow,snnn/tensorflow,tensorflow/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,apark263/tensorflow,lukeiwanski/tensorflow,dongjoon-hyun/tensorflow,dancingdan/tensorflow,jalexvig/tensorflow,ghchinoy/tensorflow,AnishShah/tensorflow,gautam1858/tensorflow,xodus7/tensorflow,lukeiwanski/tensorflow,Intel-Corporation/tensorflow,gojira/tensorflow,asimshankar/tensorflow,alsrgv/tensorflow,Bismarrck/tensorflow,allenlavoie/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,drpngx/tensorflow,Bismarrck/tensorflow,AnishShah/tensorflow,davidzchen/tensorflow,apark263/tensorflow,Xeralux/tensorflow,hfp/tensorflow-xsmm,Bismarrck/tensorflow,jbedorf/tensorflow,dendisuhubdy/tensorflow,karllessard/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,snnn/tensorflow,jhseu/tensorflow,kobejean/tensorflow,jendap/tensorflow,jalexvig/tensorflow,arborh/tensorflow,asimshankar/tensorflow,AnishShah/tensorflow,brchiu/tensorflow,xodus7/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,brchiu/tensorflow,snnn/tensorflow,ageron/tensorflow,theflofly/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,allenlavoie/tensorflow,jbedorf/tensorflow,girving/tensorflow,kevin-coder/tensorflow-fork,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ageron/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,eaplatanios/tensorflow,asimshankar/tensorflow,eaplatanios/tensorflow,tensorflow/tensorflow,Xeralux/tensorflow,drpngx/tensorflow,dongjoon-hyun/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,brchiu/tensorflow,xodus7/tensorflow,theflofly/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,benoitsteiner/tensorflow-xsmm,aldian/tensorflow,sarvex/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,ppwwyyxx/tensorflow,caisq/tensorflow,yongtang/tensorflow,allenlavoie/tensorflow,jendap/tensorflow,jart/tensorflow,jendap/tensorflow,asimshankar/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,aselle/tensorflow,renyi533/tensorflow,hfp/tensorflow-xsmm,ghchinoy/tensorflow,petewarden/tensorflow,hehongliang/tensorflow,adit-chandra/tensorflow,jendap/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,asimshankar/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,yanchen036/tensorflow,kobejean/tensorflow,tensorflow/tensorflow,aselle/tensorflow,kevin-coder/tensorflow-fork,asimshankar/tensorflow,yongtang/tensorflow,hehongliang/tensorflow,freedomtan/tensorflow,ageron/tensorflow,snnn/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,dendisuhubdy/tensorflow,Xeralux/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,seanli9jan/tensorflow,ageron/tensorflow,chemelnucfin/tensorflow,arborh/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,dongjoon-hyun/tensorflow,meteorcloudy/tensorflow,girving/tensorflow,petewarden/tensorflow,jart/tensorflow,nburn42/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,kevin-coder/tensorflow-fork,manipopopo/tensorflow,lukeiwanski/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,snnn/tensorflow,aselle/tensorflow,seanli9jan/tensorflow,aam-at/tensorflow,sarvex/tensorflow,nburn42/tensorflow,eaplatanios/tensorflow,ZhangXinNan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,hehongliang/tensorflow,aam-at/tensorflow,dancingdan/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,alsrgv/tensorflow,arborh/tensorflow,jhseu/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,aam-at/tensorflow,theflofly/tensorflow,DavidNorman/tensorflow,theflofly/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,arborh/tensorflow,freedomtan/tensorflow,ZhangXinNan/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,ZhangXinNan/tensorflow,dancingdan/tensorflow,renyi533/tensorflow,allenlavoie/tensorflow,girving/tensorflow,xzturn/tensorflow,yongtang/tensorflow,hfp/tensorflow-xsmm,aldian/tensorflow,caisq/tensorflow,theflofly/tensorflow,apark263/tensorflow,Intel-Corporation/tensorflow,yanchen036/tensorflow,aselle/tensorflow,jart/tensorflow,jendap/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,aselle/tensorflow,AnishShah/tensorflow,drpngx/tensorflow,cxxgtxy/tensorflow,theflofly/tensorflow,girving/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,ZhangXinNan/tensorflow,ZhangXinNan/tensorflow,alshedivat/tensorflow,ageron/tensorflow,jendap/tensorflow,gojira/tensorflow,ZhangXinNan/tensorflow,Intel-Corporation/tensorflow,caisq/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,meteorcloudy/tensorflow,renyi533/tensorflow,hfp/tensorflow-xsmm,paolodedios/tensorflow,paolodedios/tensorflow,gojira/tensorflow,tensorflow/tensorflow,allenlavoie/tensorflow,jalexvig/tensorflow,aselle/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,seanli9jan/tensorflow,cxxgtxy/tensorflow,snnn/tensorflow,annarev/tensorflow,apark263/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,nburn42/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,AnishShah/tensorflow,jhseu/tensorflow,theflofly/tensorflow,Xeralux/tensorflow,theflofly/tensorflow,dancingdan/tensorflow,brchiu/tensorflow,manipopopo/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,Bismarrck/tensorflow,dendisuhubdy/tensorflow,dongjoon-hyun/tensorflow,kobejean/tensorflow,annarev/tensorflow,karllessard/tensorflow,girving/tensorflow,hehongliang/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,girving/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,jhseu/tensorflow,karllessard/tensorflow,karllessard/tensorflow,petewarden/tensorflow,AnishShah/tensorflow,benoitsteiner/tensorflow-xsmm,gautam1858/tensorflow,Bismarrck/tensorflow,aselle/tensorflow,meteorcloudy/tensorflow,seanli9jan/tensorflow,dongjoon-hyun/tensorflow,aldian/tensorflow,Xeralux/tensorflow,aam-at/tensorflow,annarev/tensorflow,theflofly/tensorflow,manipopopo/tensorflow,alshedivat/tensorflow,Xeralux/tensorflow,jendap/tensorflow,arborh/tensorflow,ZhangXinNan/tensorflow,lukeiwanski/tensorflow,davidzchen/tensorflow,xodus7/tensorflow,jart/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,ghchinoy/tensorflow,alshedivat/tensorflow,jendap/tensorflow,alsrgv/tensorflow,eaplatanios/tensorflow,gunan/tensorflow,gojira/tensorflow,Bismarrck/tensorflow,petewarden/tensorflow,yongtang/tensorflow,nburn42/tensorflow,gunan/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,alshedivat/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,drpngx/tensorflow,benoitsteiner/tensorflow-xsmm,paolodedios/tensorflow,freedomtan/tensorflow,apark263/tensorflow,xodus7/tensorflow,arborh/tensorflow,Bismarrck/tensorflow,yongtang/tensorflow,gunan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,meteorcloudy/tensorflow,aldian/tensorflow,AnishShah/tensorflow,alsrgv/tensorflow,asimshankar/tensorflow,gunan/tensorflow,nburn42/tensorflow,kobejean/tensorflow,brchiu/tensorflow,asimshankar/tensorflow,ageron/tensorflow,xzturn/tensorflow,gojira/tensorflow,lukeiwanski/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,dongjoon-hyun/tensorflow,ghchinoy/tensorflow,jhseu/tensorflow,petewarden/tensorflow,annarev/tensorflow,girving/tensorflow,frreiss/tensorflow-fred,hehongliang/tensorflow,brchiu/tensorflow,davidzchen/tensorflow,brchiu/tensorflow,caisq/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,gojira/tensorflow,manipopopo/tensorflow,Intel-tensorflow/tensorflow,girving/tensorflow,ghchinoy/tensorflow,dendisuhubdy/tensorflow,eaplatanios/tensorflow,benoitsteiner/tensorflow-xsmm,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Xeralux/tensorflow,xzturn/tensorflow,petewarden/tensorflow,aam-at/tensorflow,kobejean/tensorflow,yanchen036/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,yanchen036/tensorflow,sarvex/tensorflow,manipopopo/tensorflow,paolodedios/tensorflow,ZhangXinNan/tensorflow,renyi533/tensorflow,jbedorf/tensorflow,hehongliang/tensorflow,Bismarrck/tensorflow,aam-at/tensorflow,girving/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,lukeiwanski/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,drpngx/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,chemelnucfin/tensorflow,hfp/tensorflow-xsmm,petewarden/tensorflow,davidzchen/tensorflow,benoitsteiner/tensorflow-xsmm,ageron/tensorflow,alshedivat/tensorflow,sarvex/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,benoitsteiner/tensorflow-xsmm,meteorcloudy/tensorflow,chemelnucfin/tensorflow,asimshankar/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_tf_optimizer,xodus7/tensorflow,alshedivat/tensorflow,kobejean/tensorflow,ageron/tensorflow,benoitsteiner/tensorflow-xsmm,jalexvig/tensorflow,renyi533/tensorflow,meteorcloudy/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,apark263/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kobejean/tensorflow,Xeralux/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,lukeiwanski/tensorflow,girving/tensorflow,davidzchen/tensorflow,kobejean/tensorflow,cxxgtxy/tensorflow,jendap/tensorflow,manipopopo/tensorflow,renyi533/tensorflow,nburn42/tensorflow,drpngx/tensorflow,kobejean/tensorflow,lukeiwanski/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,annarev/tensorflow,davidzchen/tensorflow,ghchinoy/tensorflow,seanli9jan/tensorflow,freedomtan/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,dongjoon-hyun/tensorflow,caisq/tensorflow,hfp/tensorflow-xsmm,kevin-coder/tensorflow-fork,allenlavoie/tensorflow,benoitsteiner/tensorflow-xsmm,ppwwyyxx/tensorflow,petewarden/tensorflow,snnn/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_saved_model,AnishShah/tensorflow,gojira/tensorflow,dancingdan/tensorflow,drpngx/tensorflow,karllessard/tensorflow,benoitsteiner/tensorflow-xsmm,ghchinoy/tensorflow,frreiss/tensorflow-fred,yanchen036/tensorflow,gunan/tensorflow,nburn42/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,Xeralux/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,jart/tensorflow,sarvex/tensorflow,nburn42/tensorflow,sarvex/tensorflow,seanli9jan/tensorflow,dancingdan/tensorflow,tensorflow/tensorflow,gojira/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,asimshankar/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow