num_class_range = tf.range(0, self.num_class, delta=1, dtype=tf.float32, name=\'range\') doc_type_indices = num_class_range+(self.num_class*self.doc_type) doc_type_i