AIFEBaseModel: Base class for objects using a pytorch model as core model.

AIFEBaseModelR Documentation

Base class for objects using a pytorch model as core model.

Description

Objects of this class containing fields and methods used in several other classes in 'AI for Education'.

This class is not designed for a direct application and should only be used by developers.

Value

A new object of this class.

Super class

aifeducation::AIFEMaster -> AIFEBaseModel

Methods

Public methods

Inherited methods

Method count_parameter()

Method for counting the trainable parameters of a model.

Usage
AIFEBaseModel$count_parameter()
Returns

Returns the number of trainable parameters of the model.


Method clone()

The objects of this class are cloneable with this method.

Usage
AIFEBaseModel$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other R6 Classes for Developers: AIFEMaster, BaseModelCore, ClassifiersBasedOnTextEmbeddings, DataManagerClassifier, LargeDataSetBase, ModelsBasedOnTextEmbeddings, TEClassifiersBasedOnProtoNet, TEClassifiersBasedOnRegular, TokenizerBase


aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.