51c62c23560eb788167c8a9838b8183cd988de61,tf_agents/agents/categorical_dqn/categorical_dqn_agent_test.py,DummyCategoricalNet,__init__,#DummyCategoricalNet#Any#Any#Any#Any#,38

Before Change


    weights_initializer = np.array([
        np.concatenate((np.arange(num_atoms), np.ones(num_atoms))),
        np.concatenate((np.ones(num_atoms), np.ones(num_atoms)))])
    kernel_initializer = tf.compat.v1.initializers.constant(
        weights_initializer, verify_shape=True)
    bias_initializer = tf.keras.initializers.Ones()

    // Store custom layers that can be serialized through the Checkpointable API.
    self._dummy_layers = []

After Change


    weights_initializer = np.array([
        np.concatenate((np.arange(num_atoms), np.ones(num_atoms))),
        np.concatenate((np.ones(num_atoms), np.ones(num_atoms)))])
    kernel_initializer = tf.constant_initializer(weights_initializer)
    bias_initializer = tf.keras.initializers.Ones()

    // Store custom layers that can be serialized through the Checkpointable API.
    self._dummy_layers = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/agents
Commit Name: 51c62c23560eb788167c8a9838b8183cd988de61
Time: 2020-10-15
Author: tobyboyd@google.com
File Name: tf_agents/agents/categorical_dqn/categorical_dqn_agent_test.py
Class Name: DummyCategoricalNet
Method Name: __init__


Project Name: dpressel/mead-baseline
Commit Name: e0ca4627ae496471ebc350e0232021777eced482
Time: 2020-04-07
Author: blester125@users.noreply.github.com
File Name: layers/eight_mile/tf/layers.py
Class Name: CRF
Method Name: __init__


Project Name: tensorflow/agents
Commit Name: 51c62c23560eb788167c8a9838b8183cd988de61
Time: 2020-10-15
Author: tobyboyd@google.com
File Name: tf_agents/policies/categorical_q_policy_test.py
Class Name: DummyCategoricalNet
Method Name: __init__