Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow model creation #136

Open
sakshi15108 opened this issue Oct 29, 2021 · 1 comment
Open

tensorflow model creation #136

sakshi15108 opened this issue Oct 29, 2021 · 1 comment

Comments

@sakshi15108
Copy link

Hello!
Thank you for your amazing work.
I am new to AI and was trying to understand how you convert the train.raw file to embeddings and vector. I could not find _create_inner_model implementation for tensorflow_model. It is present for keras_model though. May you please guide me to the code where you create the tensorflow model.

@urialon
Copy link
Collaborator

urialon commented Nov 2, 2021

Hi @sakshi15108 ,
Thank you for your kind words!

If I remember correctly, _create_inner_model does nothing for the tensorflow-model.
The model is created here:
https://github.com/tech-srl/code2vec/blob/master/tensorflow_model.py#L197

Best,
Uri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants