self, indices: Sequence_[int], allow_fill: bool = False, fill_value: bool = None ) -> "PandasArrayExtensionArray": indices: np.ndarray = np.asarray(indices, dtype=np.int) indices: np.ndarray = np.asarray(indices, dtype=int) if allow_fill: fill_value = ( self.dtype.na_value if...
value] is None: log_single_rank( logger, logging.INFO, f"blend not provided for {split.name} split" ) else: assert self.blend_per_split[split.value][1] is None or len( self.blend_per_split[split.value][0] ) == len( self.blend_per_split[split.value][1] ), "blend per split...
Arguments: images -- a list of np.ndarrays net -- a caffe.Net transformer -- a caffe.io.TransformerKeyword arguments: batch_size -- how many images can be processed at once (a high value may result in out-of-memory errors) """ caffe_images = []...
if self.blend_per_split[split.value] is None: log_single_rank( logger, logging.INFO, f"blend not provided for {split.name} split" ) else: assert self.blend_per_split[split.value][1] is None or len( self.blend_per_split[split.value][0] ...