emmi_inference.models.pipelines.default_tensor_precollator¶
WARNING
This file is a 1:1 duplicate from the tutorial folder.
It is here to avoid installation of a tutorial as a package and keep it isolated.
Classes¶
Create a tensor with a fixed dummy value, with a specified size. |
Module Contents¶
- class emmi_inference.models.pipelines.default_tensor_precollator.DefaultTensorPreCollator(item_key_name, feature_dim, size=None, matching_item_key=None, default_value=0.0)¶
Bases:
ksuit.data.pipeline.SampleProcessorCreate a tensor with a fixed dummy value, with a specified size.
Initializes the DefaulTensorPreCollator.
- Parameters:
- item_key_name¶
- feature_dim¶
- size = None¶
- matching_item_key = None¶
- default_value = 0.0¶