code: def __call__(self, shape, dtype):
      if tf.executing_eagerly():
          raise ValueError("Eager mode")
      return tf.ones(shape, dtype)
  
imports: import os
  from absl import logging
  from absl.testing import parameterized
  from sonnet.src import initializers
  from sonnet.src import test_utils
  from sonnet.src.distribute import replicator
  from sonnet.src.distribute import replicator_test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the FailsInEagerMode obj's underlying member method code with example usage: obj.__call__(shape, dtype) and returns: tf