openfl/transport/grpc/director_server.py
async def GetDatasetInfo(self, request, context):  # NOQA:N802
        """Request the info about target and sample shapes in the dataset."""
        logger.info('Request GetDatasetInfo has got!')

        sample_shape, target_shape = self.director.get_dataset_info()
        resp = director_pb2.ShardInfo(
            sample_shape=sample_shape,
            target_shape=target_shape
        )
        return resp
Request the info about target and sample shapes in the dataset.
Request the info about target and sample shapes in the dataset.
Request the info about target and sample shapes in the dataset .
async def GetDatasetInfo(self, request, context):  
        logger.info('Request GetDatasetInfo has got!')
        sample_shape, target_shape = self.director.get_dataset_info()
        resp = director_pb2.ShardInfo(
            sample_shape=sample_shape,
            target_shape=target_shape
        )
        return resp
async def GetDatasetInfo ( self , request , context ) : logger . info ( 'Request GetDatasetInfo has got!' ) sample_shape , target_shape = self . director . get_dataset_info ( ) resp = director_pb2 . ShardInfo ( sample_shape = sample_shape , target_shape = target_shape ) return resp
Request the info about target and sample shapes in the dataset.
Request the info about target and sample shapes in the dataset .
# NOQA:N802 """Request the info about target and sample shapes in the dataset."""
self
request
context