View source on GitHub |
Deserializes 'tff.Computation' as a pb.Computation.
tff.framework.deserialize_computation(
computation_proto: pb.Computation
) -> tff.Computation
Args | |
---|---|
computation_proto
|
An instance of pb.Computation .
|
Returns | |
---|---|
The corresponding instance of tff.Computation .
|
Raises | |
---|---|
TypeError
|
If the argument is of the wrong type. |