import tensorflow as tf

                            false_fn=lambda: tf.constant(0, dtype=tf.int64)
                        )
                        kk = tf.math.add(kk, to_add)
                    kernel[l][m] = kk

        return tf.convert_to_tensor(kernel, dtype=tf.int64)

    def dim(self):
        return self._dim
