code2vec icon indicating copy to clipboard operation
code2vec copied to clipboard

tensorflow model creation

Open sakshi15108 opened this issue 3 years ago • 1 comments

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.

sakshi15108 avatar Oct 29 '21 21:10 sakshi15108

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

urialon avatar Nov 02 '21 20:11 urialon