All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.linkedin.dagli.transformer.Tupled9 Maven / Gradle / Ivy

Go to download

DAG-oriented machine learning framework for bug-resistant, readable, efficient, maintainable and trivially deployable models in Java and other JVM languages

There is a newer version: 15.0.0-beta9
Show newest version
// AUTOGENERATED CODE.  DO NOT MODIFY DIRECTLY!  Instead, please modify the transformer/TupledX.ftl file.
// See the README in the module's src/template directory for details.
package com.linkedin.dagli.transformer;

import com.linkedin.dagli.annotation.equality.ValueEquality;
import com.linkedin.dagli.producer.Producer;
import com.linkedin.dagli.tuple.Tuple9;


/**
 * A transformer that produces a tuple of the values it receives as inputs.
 */
@ValueEquality
public class Tupled9
    extends
    AbstractPreparedTransformer9, Tupled9> {
  private static final long serialVersionUID = 1;

  /**
   * Creates a new instance with the specified inputs.
   */
  public Tupled9(Producer input1, Producer input2, Producer input3,
      Producer input4, Producer input5, Producer input6,
      Producer input7, Producer input8, Producer input9) {
    super(input1, input2, input3, input4, input5, input6, input7, input8, input9);
  }

  @Override
  public Tuple9 apply(A value1, B value2, C value3, D value4, E value5, F value6, G value7,
      H value8, I value9) {
    return Tuple9.of(value1, value2, value3, value4, value5, value6, value7, value8, value9);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy