MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / deserialize

Method deserialize

tensorflow/python/ops/boosted_trees_ops.py:292–303  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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)

Callers 9

_from_configMethod · 0.45
_from_configMethod · 0.45
_recreate_user_objectMethod · 0.45
test_bad_versionsMethod · 0.45

Calls

no outgoing calls