java icon indicating copy to clipboard operation
java copied to clipboard

Make Graph accessible from Session

Open arianmaghsoudnia opened this issue 3 years ago • 5 comments

System information

  • TensorFlow version : 0.4.0
  • Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state. I would like to have access to the Graph attribute of the Session. Is there a reason it is private?

Will this change the current api? How? Yes. Makes an existing attribute public.

Who will benefit with this feature? If you have a loaded session and need to access the detail of your graph.

arianmaghsoudnia avatar Dec 02 '22 12:12 arianmaghsoudnia

I guess it is safe to expose it, yes, I don't see why not. Would you be interested to push a PR for this?

karllessard avatar Dec 14 '22 03:12 karllessard

code base is in java?

AyushABD-17 avatar Jun 20 '23 16:06 AyushABD-17

Hi, @karllessard I can raise PR for this one, kindly let me know if this is okay with you. Thanks in advance!

manojava98 avatar Apr 13 '24 14:04 manojava98

Yes @manojava98 , please do!

karllessard avatar Apr 13 '24 22:04 karllessard

Hi @karllessard I have raised the PR #535 . Kindly, check

manojava98 avatar Apr 15 '24 08:04 manojava98

Fixed in master.

Craigacp avatar May 10 '24 19:05 Craigacp