def _init_metadata(hyperparameters: Dict[str, Any],
                    raw_metadata: Dict[str, Any]) -> None:
     super(Sequence2HybridMetric,
           Sequence2HybridMetric)._init_metadata(hyperparameters,
                                                 raw_metadata)
     TokenEmbedder.init_metadata('token', raw_metadata, hyperparameters)
     TypeClassificationModel._init_metadata(hyperparameters, raw_metadata)
Esempio n. 2
0
 def _init_metadata(hyperparameters: Dict[str, Any],
                    raw_metadata: Dict[str, Any]) -> None:
     super(Sequence2Metric,
           Sequence2Metric)._init_metadata(hyperparameters, raw_metadata)
     TokenEmbedder.init_metadata('token', raw_metadata, hyperparameters)