MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get_model

Function get_model

tensorflow/python/distribute/ctl_correctness_test.py:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def get_model():
63 model = keras.Sequential()
64 model.add(keras.layers.Dense(10, activation='relu', input_shape=(1,)))
65 model.add(keras.layers.Dense(
66 10, activation='relu',
67 kernel_regularizer=keras.regularizers.l2(1e-4)))
68 model.add(keras.layers.Dense(10, activation='relu'))
69 model.add(keras.layers.Dense(1))
70 return model
71
72
73def get_data():

Callers 3

iteration_inside_funcFunction · 0.70
iteration_outside_funcFunction · 0.70
dnn_correctnessMethod · 0.70

Calls 2

addMethod · 0.95
l2Method · 0.45

Tested by

no test coverage detected