Deserialize the input proto and resets the ensemble from it. Args: stamp_token: int64 scalar Tensor to denote the stamp of the resource. serialized_proto: string scalar Tensor of the serialized proto. Returns: Operation (for dependencies).
(self, stamp_token, serialized_proto)
| 290 | self.resource_handle) |
| 291 | |
| 292 | def deserialize(self, stamp_token, serialized_proto): |
| 293 | """Deserialize the input proto and resets the ensemble from it. |
| 294 | |
| 295 | Args: |
| 296 | stamp_token: int64 scalar Tensor to denote the stamp of the resource. |
| 297 | serialized_proto: string scalar Tensor of the serialized proto. |
| 298 | |
| 299 | Returns: |
| 300 | Operation (for dependencies). |
| 301 | """ |
| 302 | return gen_boosted_trees_ops.boosted_trees_deserialize_ensemble( |
| 303 | self.resource_handle, stamp_token, serialized_proto) |
no outgoing calls