cerebras.modelzoo.data.vision.diffusion.config.DiffusionLatentImageNet1KProcessorConfig#
- class cerebras.modelzoo.data.vision.diffusion.config.DiffusionLatentImageNet1KProcessorConfig(*args, **kwargs)[source]#
- data_processor#
- batch_size = None#
- classmethod check_for_deprecated_fields()#
classmethod(function) -> method
Convert a function to be a class method.
A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:
- class C:
@classmethod def f(cls, arg1, arg2, …):
…
It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.
Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
- check_literal_discriminator_field(data)#
- copy(*, validate=True, **kwargs)#
- data_dir = Ellipsis#
- discriminator = 'data_processor'#
- property discriminator_value#
- drop_last = True#
- classmethod get_orig_class()#
- get_orig_class_args(**kwargs)#
- image_channels = Ellipsis#
- image_size = None#
- label_dropout_rate = None#
- latent_channels = None#
- latent_size = None#
- model_copy(**kwargs)#
- model_post_init(context)#
- noaugment = False#
- num_classes = Ellipsis#
- num_diffusion_steps = None#
- num_workers = None#
- persistent_workers = None#
- post_init(context)#
- prefetch_factor = None#
- schedule_name = None#
- shuffle = None#
- shuffle_seed = None#
- split = 'train'#
- transforms = []#
- use_worker_cache = False#
- vae_scaling_factor = None#
- classmethod validate_fields()#
classmethod(function) -> method
Convert a function to be a class method.
A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:
- class C:
@classmethod def f(cls, arg1, arg2, …):
…
It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.
Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
- classmethod validate_image_size()#
classmethod(function) -> method
Convert a function to be a class method.
A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:
- class C:
@classmethod def f(cls, arg1, arg2, …):
…
It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.
Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
- var_loss = None#