parameters: (self, pb_file)
docstring: Load from prototxt file for DistributedStrategy initialization
  
          Examples:
  
            .. code-block:: python
  
              import paddle.distributed.fleet as fleet
              strategy = fleet.DistributedStrategy()
              strategy.load_from_prototxt("dist_strategy.prototxt")
docstring_summary: Load from prototxt file for DistributedStrategy initialization
docstring_tokens: Load from prototxt file for DistributedStrategy initialization
function: def load_from_prototxt(self, pb_file):
          """
          Load from prototxt file for DistributedStrategy initialization
  
          Examples:
  
            .. code-block:: python
  
              import paddle.distributed.fleet as fleet
              strategy = fleet.DistributedStrategy()
              strategy.load_from_prototxt("dist_strategy.prototxt")
          """
          with open(pb_file, 'r') as f:
              self.strategy = google.protobuf.text_format.Merge(
                  str(f.read()), self.strategy)
function_tokens: def load_from_prototxt ( self , pb_file ) : with open ( pb_file , 'r' ) as f : self . strategy = google . protobuf . text_format . Merge ( str ( f . read ( ) ) , self . strategy )