MCPcopy
hub / github.com/tensorflow/models / get_models

Function get_models

official/legacy/image_classification/classifier_trainer.py:41–47  ·  view source on GitHub ↗

Returns the mapping from model type name to Keras model.

()

Source from the content-addressed store, hash-verified

39
40
41def get_models() -> Mapping[str, tf_keras.Model]:
42 """Returns the mapping from model type name to Keras model."""
43 return {
44 'efficientnet': efficientnet_model.EfficientNet.from_name,
45 'resnet': resnet_model.resnet50,
46 'vgg': vgg_model.vgg16,
47 }
48
49
50def get_dtype_map() -> Mapping[str, tf.dtypes.DType]:

Callers 2

train_and_evalFunction · 0.70
exportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected