@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
| Constructor and Description |
|---|
InputConfig() |
| Modifier and Type | Method and Description |
|---|---|
InputConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDataInputConfig()
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form.
|
String |
getFramework()
Identifies the framework in which the model was trained.
|
String |
getS3Uri()
The S3 path where the model artifacts, which result from model training, are stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form.
|
void |
setFramework(String framework)
Identifies the framework in which the model was trained.
|
void |
setS3Uri(String s3Uri)
The S3 path where the model artifacts, which result from model training, are stored.
|
String |
toString()
Returns a string representation of this object.
|
InputConfig |
withDataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form.
|
InputConfig |
withFramework(Framework framework)
Identifies the framework in which the model was trained.
|
InputConfig |
withFramework(String framework)
Identifies the framework in which the model was trained.
|
InputConfig |
withS3Uri(String s3Uri)
The S3 path where the model artifacts, which result from model training, are stored.
|
public void setS3Uri(String s3Uri)
The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
s3Uri - The S3 path where the model artifacts, which result from model training, are stored. This path must point
to a single gzip compressed tar archive (.tar.gz suffix).public String getS3Uri()
The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
public InputConfig withS3Uri(String s3Uri)
The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
s3Uri - The S3 path where the model artifacts, which result from model training, are stored. This path must point
to a single gzip compressed tar archive (.tar.gz suffix).public void setDataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are InputConfig$Framework specific.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of the
expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
dataInputConfig - Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary
form. The data inputs are InputConfig$Framework specific.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of
the expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
public String getDataInputConfig()
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are InputConfig$Framework specific.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of the
expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of
the expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
public InputConfig withDataInputConfig(String dataInputConfig)
Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are InputConfig$Framework specific.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of the
expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
dataInputConfig - Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary
form. The data inputs are InputConfig$Framework specific.
TENSORFLOW, MXNET and ONNX: You must specify the name and shape of
the expected data inputs in order using a dictionary format for your trained model.
Example of one input: {‘data’:[1,3,1024,1024]}}
Example for two inputs: {‘var1’: [1,1,28,28], ‘var2’:[1,1,28,28]}
PYTORCH: You can either specify the name and shape of expected data inputs in order using a
dictionary format for your trained model or you can specify the shape only using a list format.
Example of one input in dictionary format: {‘input0’:[1,3,224,234]}
Example of one input in list format: [1,3,224,224]
Example of two inputs in dictionary format: {‘input0’:[1,3,224,234], 'input1':[1,3,224,224]}
Example of two inputs in list format: [[1,3,224,224], [1,3,224,224]]
XGBOOST: input data name and shape are not needed.
public void setFramework(String framework)
Identifies the framework in which the model was trained. For example: TENSORFLOW.
framework - Identifies the framework in which the model was trained. For example: TENSORFLOW.Frameworkpublic String getFramework()
Identifies the framework in which the model was trained. For example: TENSORFLOW.
Frameworkpublic InputConfig withFramework(String framework)
Identifies the framework in which the model was trained. For example: TENSORFLOW.
framework - Identifies the framework in which the model was trained. For example: TENSORFLOW.Frameworkpublic InputConfig withFramework(Framework framework)
Identifies the framework in which the model was trained. For example: TENSORFLOW.
framework - Identifies the framework in which the model was trained. For example: TENSORFLOW.Frameworkpublic String toString()
toString in class ObjectObject.toString()public InputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.