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 Proto File Test #55

Open
Pigrecos opened this issue Dec 16, 2021 · 0 comments
Open

Tensorflow Proto File Test #55

Pigrecos opened this issue Dec 16, 2021 · 0 comments

Comments

@Pigrecos
Copy link

Hi I'm doing some tests with your great code,
I am using the tensorflow proto files found here for testing:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/framework,
I made some changes and you can find them here:
https://github.com/Pigrecos/protobuf-delphi.
Now the main problems are the forward declarations,
But I don't understand this, for example:

Pb.readFloat (Value.FFloatVals.Add ^);
from
Wrln ('% s (Value.% S.Add ^);', [GetRead (msg), n]);
shouldn't that be something like that?

var f: float: = Pb.readFloat;
Value.FFloatVals.Add (@f);

the test project is compiled with these parameters:
tensorflow \ core \ framework \ op_def.proto -genSGL

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

1 participant