Exemplo n.º 1
0
 def restore(self, restored_tensors, unused_tensor_shapes):
     bucket_boundaries = restored_tensors
     with ops.control_dependencies([self._create_op]):
         return quantile_resource_deserialize(
             self._resource_handle, bucket_boundaries=bucket_boundaries)
Exemplo n.º 2
0
 def restore(self, restored_tensors, unused_tensor_shapes):
   bucket_boundaries = restored_tensors
   with ops.control_dependencies([self._create_op]):
     return quantile_resource_deserialize(
         self._resource_handle, bucket_boundaries=bucket_boundaries)