Answers for "what optimizer to simplernn"

0

what optimizer to simplernn

noncudnn_model.compile(
    loss=keras.losses.SparseCategoricalCrossentropy(from_logits=True),
    optimizer="sgd",
    metrics=["accuracy"],
)
Posted by: Guest on May-17-2021
0

what optimizer to simplernn

model = build_model(allow_cudnn_kernel=True)

model.compile(
    loss=keras.losses.SparseCategoricalCrossentropy(from_logits=True),
    optimizer="sgd",
    metrics=["accuracy"],
)


model.fit(
    x_train, y_train, validation_data=(x_test, y_test), batch_size=batch_size, epochs=1
)
Posted by: Guest on May-17-2021

Browse Popular Code Answers by Language