Searched refs:_from_proto (Results 1 – 6 of 6) sorted by relevance
54 def _from_proto(cls, pb): member in AutoShardPolicy92 def _from_proto(cls, pb): member in ExternalStatePolicy153 def _from_proto(self, pb): member in DistributeOptions154 …self.auto_shard_policy = AutoShardPolicy._from_proto(pb.auto_shard_policy) # pylint: disable=prot…
81 def _from_proto(self, pb): member in MapVectorizationOptions386 def _from_proto(self, pb): member in OptimizationOptions412 self.map_vectorization._from_proto(pb.map_vectorization) # pylint: disable=protected-access
61 def _from_proto(self, pb): member in ThreadingOptions
165 result._from_proto(pb)173 result._from_proto(pb)180 options._from_proto(pb)
66 def _from_proto(self, pb): member in OptionsBase
3069 def _from_proto(self, pb): member in Options3072 …self.experimental_distribute._from_proto(pb.distribute_options) # pylint: disable=protected-access3075 distribute_options.ExternalStatePolicy._from_proto( # pylint: disable=protected-access3077 …self.experimental_optimization._from_proto(pb.optimization_options) # pylint: disable=protected-a…3080 … self.experimental_threading._from_proto(pb.threading_options) # pylint: disable=protected-access