Attend the Women in ML Symposium on December 7 Register now

tff.framework.serialize_computation

Stay organized with collections Save and categorize content based on your preferences.

Serializes 'tff.Computation' as a pb.Computation.

Used in the notebooks

Used in the tutorials

computation An instance of tff.Computation.

The corresponding instance of pb.Computation.

TypeError If the argument is of the wrong type.
NotImplementedError for computation variants for which serialization is not implemented.