481f316cae7e4bee4bb0d8f7b814d2c2c61c4d75,deepvariant/modeling.py,DeepVariantSmallModel,model_fn,#DeepVariantSmallModel#Any#Any#Any#Any#,1486

Before Change


      return self._model_fn_predict(mode, features, logits)

    // Compute loss.
    one_hot_labels = tf.one_hot(labels, num_classes, dtype=tf.int32)
    tf.compat.v1.losses.softmax_cross_entropy(
        onehot_labels=one_hot_labels,
        logits=logits,
        weights=1.0,

After Change


      return self._model_fn_predict(mode, features, logits)

    // Compute loss.
    one_hot_labels = tf.one_hot(labels, num_classes, dtype=tf.int32)
    tf.compat.v1.losses.softmax_cross_entropy(
        onehot_labels=one_hot_labels,
        logits=logits,
        weights=1.0,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: google/deepvariant
Commit Name: 481f316cae7e4bee4bb0d8f7b814d2c2c61c4d75
Time: 2020-01-21
Author: no-reply@google.com
File Name: deepvariant/modeling.py
Class Name: DeepVariantSmallModel
Method Name: model_fn


Project Name: google/deepvariant
Commit Name: 034d117e7c7f9adf46444b5b049b635e61f6d7b3
Time: 2020-02-26
Author: no-reply@google.com
File Name: deepvariant/modeling.py
Class Name: DeepVariantSmallModel
Method Name: model_fn


Project Name: keras-team/keras
Commit Name: 907e8035656b0597a7a2f3cc1bf237a8cbf48821
Time: 2018-08-21
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_one_hot