tfma.ModelSpec
Stay organized with collections
Save and categorize content based on your preferences.
A ProtocolMessage
Used in the notebooks
Attributes |
example_weight_key
|
string example_weight_key
|
example_weight_keys
|
repeated ExampleWeightKeysEntry example_weight_keys
|
inference_batch_size
|
int32 inference_batch_size
|
is_baseline
|
bool is_baseline
|
label_key
|
string label_key
|
label_keys
|
repeated LabelKeysEntry label_keys
|
model_type
|
string model_type
|
name
|
string name
|
padding_options
|
PaddingOptions padding_options
|
prediction_key
|
string prediction_key
|
prediction_keys
|
repeated PredictionKeysEntry prediction_keys
|
preprocessing_function_names
|
repeated string preprocessing_function_names
|
signature_name
|
string signature_name
|
Child Classes
class ExampleWeightKeysEntry
class LabelKeysEntry
class PredictionKeysEntry
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfma.ModelSpec\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/proto/config.proto) |\n\nA ProtocolMessage\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| - [Better ML Engineering with ML Metadata](https://www.tensorflow.org/tfx/tutorials/mlmd/mlmd_tutorial) - [TFX Estimator Component Tutorial](https://www.tensorflow.org/tfx/tutorials/tfx/components) - [TFX Keras Component Tutorial](https://www.tensorflow.org/tfx/tutorials/tfx/components_keras) - [Model analysis using TFX Pipeline and TensorFlow Model Analysis](https://www.tensorflow.org/tfx/tutorials/tfx/penguin_tfma) |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|--------------------------------|-------------------------------------------------------|\n| `example_weight_key` | `string example_weight_key` |\n| `example_weight_keys` | `repeated ExampleWeightKeysEntry example_weight_keys` |\n| `inference_batch_size` | `int32 inference_batch_size` |\n| `is_baseline` | `bool is_baseline` |\n| `label_key` | `string label_key` |\n| `label_keys` | `repeated LabelKeysEntry label_keys` |\n| `model_type` | `string model_type` |\n| `name` | `string name` |\n| `padding_options` | `PaddingOptions padding_options` |\n| `prediction_key` | `string prediction_key` |\n| `prediction_keys` | `repeated PredictionKeysEntry prediction_keys` |\n| `preprocessing_function_names` | `repeated string preprocessing_function_names` |\n| `signature_name` | `string signature_name` |\n\n\u003cbr /\u003e\n\nChild Classes\n-------------\n\n[`class ExampleWeightKeysEntry`](../tfma/ModelSpec/ExampleWeightKeysEntry)\n\n[`class LabelKeysEntry`](../tfma/ModelSpec/LabelKeysEntry)\n\n[`class PredictionKeysEntry`](../tfma/ModelSpec/PredictionKeysEntry)"]]