code: def dummy_sample_rejecter(samples, state_sample):
      del state_sample
      batch_size = samples["continuous1"].shape[0]
      num_samples = samples["continuous1"].shape[1]
      return tf.ones([batch_size, num_samples], dtype=tf.bool)
  
file_path: agents/tf_agents/policies/samplers/qtopt_cem_actions_sampler_continuous_and_one_hot_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tf_agents.policies.samplers import qtopt_cem_actions_sampler_continuous_and_one_hot
  from tf_agents.specs import tensor_spec
label_desc: Use image node_id 1 for calling a global function with example usage: dummy_sample_rejecter(samples, state_sample) and returns: tf