protobuf-delphi icon indicating copy to clipboard operation
protobuf-delphi copied to clipboard

Tensorflow Proto File Test

Open Pigrecos opened this issue 4 years ago • 0 comments

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

Pigrecos avatar Dec 16 '21 16:12 Pigrecos