openfl.protocols.utils.dump_proto

Contents

openfl.protocols.utils.dump_proto#

openfl.protocols.utils.dump_proto(model_proto, fpath)[source]#

Dump the protobuf to a file.

Parameters:
  • model_proto – The protobuf of the model.

  • fpath – The file path to dump the protobuf.