4ce2c3150094471ffa0c1a34ad9c337dfec85152,tensorflow_lattice/python/configs_test.py,,,#,125

Before Change


            "feature_b").regularizer_config_by_name("calib_hessian").l1, 0.7)


if __name__ == "__main__":
  tf.test.main()

After Change


from tensorflow_lattice.python import premade
from tensorflow_lattice.python import pwl_calibration_layer

tfl_custom_objects = {
    "CalibratedLatticeEnsemble":
        premade.CalibratedLatticeEnsemble,
    "CalibratedLattice":
        premade.CalibratedLattice,
    "CalibratedLinear":
        premade.CalibratedLinear,
    "CategoricalCalibration":
        categorical_calibration_layer.CategoricalCalibration,
    "FeatureConfig":
        configs.FeatureConfig,
    "RegularizerConfig":
        configs.RegularizerConfig,
    "TrustConfig":
        configs.TrustConfig,
    "DominanceConfig":
        configs.DominanceConfig,
    "CalibratedLatticeEnsembleConfig":
        configs.CalibratedLatticeEnsembleConfig,
    "CalibratedLatticeConfig":
        configs.CalibratedLatticeConfig,
    "CalibratedLinearConfig":
        configs.CalibratedLinearConfig,
    "Lattice":
        lattice_layer.Lattice,
    "Linear":
        linear_layer.Linear,
    "PWLCalibration":
        pwl_calibration_layer.PWLCalibration,
}


class ConfigsTest(tf.test.TestCase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: tensorflow/lattice
Commit Name: 4ce2c3150094471ffa0c1a34ad9c337dfec85152
Time: 2020-04-14
Author: no-reply@google.com
File Name: tensorflow_lattice/python/configs_test.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: 8cce32d5fa1a5afbaa0ba92fc0dde28e3b2246a4
Time: 2015-11-09
Author: evgeni@burovski.me
File Name: tools/refguide_check.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 50715e17dca61ee651ebf2bee143ddcd2763dab7
Time: 2020-09-23
Author: noreply@google.com
File Name: imaging/ml/toolkit/hcls_imaging_ml_toolkit/dicom_json_test.py
Class Name:
Method Name:


Project Name: deepmind/sonnet
Commit Name: 4e6f863acd500dc02e7c2a8e5a01566ac58930d9
Time: 2018-11-20
Author: noreply@google.com
File Name: sonnet/python/modules/conv_test.py
Class Name:
Method Name: