[go: nahoru, domu]

Skip to content

Commit

Permalink
no-op
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 549352767
  • Loading branch information
genehwung authored and tfx-copybara committed Jul 19, 2023
1 parent 98fa7ec commit 6b5d328
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tensorflow_model_analysis/api/model_eval_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,11 @@ def default_eval_shared_model(
with *some* prediction extractors.
"""
if not eval_config:
# Default to tfma eval model unless eval
is_baseline = False
if tags and tags == [tf.saved_model.SERVING]:
if tags and eval_constants.EVAL_TAG in tags:
model_type = constants.TFMA_EVAL
elif tags and tf.saved_model.SERVING in tags:
model_type = constants.TF_ESTIMATOR
else:
model_type = constants.TFMA_EVAL
Expand Down

0 comments on commit 6b5d328

Please sign in to comment.