def initial_sample_state(self, template):
    return tf.nest.map_structure(dp_query.zeros_like, template)
def initial_sample_state(self, template):
    return tf.nest.map_structure(dp_query.zeros_like, template)