com.clarifai.grpc.api.InputInfoOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface InputInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.InputInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* Map from the api.Data field names to the underlying model graph's inputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt input names.
*
*
* .google.protobuf.Struct fields_map = 1;
* @return Whether the fieldsMap field is set.
*/
boolean hasFieldsMap();
/**
*
* Map from the api.Data field names to the underlying model graph's inputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt input names.
*
*
* .google.protobuf.Struct fields_map = 1;
* @return The fieldsMap.
*/
com.google.protobuf.Struct getFieldsMap();
/**
*
* Map from the api.Data field names to the underlying model graph's inputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt input names.
*
*
* .google.protobuf.Struct fields_map = 1;
*/
com.google.protobuf.StructOrBuilder getFieldsMapOrBuilder();
/**
*
* To control the inputs to the given model we allow a list of parameters
* defined for each ModelType as a Struct (JSON object) here. During training or inference, the
* settings contained within are sent to the training processor to alter the training process.
*
*
* .google.protobuf.Struct params = 2;
* @return Whether the params field is set.
*/
boolean hasParams();
/**
*
* To control the inputs to the given model we allow a list of parameters
* defined for each ModelType as a Struct (JSON object) here. During training or inference, the
* settings contained within are sent to the training processor to alter the training process.
*
*
* .google.protobuf.Struct params = 2;
* @return The params.
*/
com.google.protobuf.Struct getParams();
/**
*
* To control the inputs to the given model we allow a list of parameters
* defined for each ModelType as a Struct (JSON object) here. During training or inference, the
* settings contained within are sent to the training processor to alter the training process.
*
*
* .google.protobuf.Struct params = 2;
*/
com.google.protobuf.StructOrBuilder getParamsOrBuilder();
/**
*
* For base model to get embeddings from for transfer learned models.
*
*
* .clarifai.api.Model base_embed_model = 3;
* @return Whether the baseEmbedModel field is set.
*/
boolean hasBaseEmbedModel();
/**
*
* For base model to get embeddings from for transfer learned models.
*
*
* .clarifai.api.Model base_embed_model = 3;
* @return The baseEmbedModel.
*/
com.clarifai.grpc.api.Model getBaseEmbedModel();
/**
*
* For base model to get embeddings from for transfer learned models.
*
*
* .clarifai.api.Model base_embed_model = 3;
*/
com.clarifai.grpc.api.ModelOrBuilder getBaseEmbedModelOrBuilder();
}