fatez.test.Faker

class fatez.test.Faker(warning_filter: str = 'default', model_config: Optional[dict] = None, n_sample: int = 10, batch_size: int = 5, simpler_samples: bool = False, device: str = 'cpu', dtype: type = torch.float32)

Test modules with fake data

__init__(warning_filter: str = 'default', model_config: Optional[dict] = None, n_sample: int = 10, batch_size: int = 5, simpler_samples: bool = False, device: str = 'cpu', dtype: type = torch.float32)

Methods

__init__([warning_filter, model_config, ...])

make_data_loader()

Generate random data with given parameters and set up a PyTorch DataLoader.

test_full_model([config, train_epoch, ...])

Function to test whether FateZ is performing properly or not.

test_gat([config, decision])

Function to test whether GAT in FateZ is performing properly or not.