MCPcopy Create free account
hub / github.com/tensorflow/models / build_model

Method build_model

official/core/base_task.py:144–149  ·  view source on GitHub ↗

[Optional] Creates model architecture. Returns: A model instance.

(self)

Source from the content-addressed store, hash-verified

142 ckpt_dir_or_file)
143
144 def build_model(self) -> tf_keras.Model:
145 """[Optional] Creates model architecture.
146
147 Returns:
148 A model instance.
149 """ # pytype: disable=bad-return-type # typed-keras
150
151 @abc.abstractmethod
152 def build_inputs(self,

Callers 3

test_recoveryMethod · 0.45
create_trainerFunction · 0.45
create_test_trainerMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_recoveryMethod · 0.36
create_test_trainerMethod · 0.36