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

clarifai2.dto.model.FaceEmbeddingModel Maven / Gradle / Ivy

The newest version!
package clarifai2.dto.model;

import clarifai2.dto.model.output_info.FaceEmbeddingOutputInfo;
import clarifai2.dto.prediction.FaceEmbedding;
import com.google.auto.value.AutoValue;
import org.jetbrains.annotations.NotNull;

@SuppressWarnings("NullableProblems")
@AutoValue
public abstract class FaceEmbeddingModel extends Model {

  FaceEmbeddingModel() {} // AutoValue instances only

  @NotNull @Override public final ModelType modelType() { return modelTypeStatic(); }
  public static ModelType modelTypeStatic() { return ModelType.FACE_EMBEDDING; }

  @SuppressWarnings("ConstantConditions")
  @NotNull
  @Override
  public final FaceEmbeddingOutputInfo outputInfo() {
    return (FaceEmbeddingOutputInfo) super.outputInfo();
  }

  @AutoValue.Builder
  public interface Builder extends Model.Builder {
    @NotNull @Override FaceEmbeddingModel build();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy