import tensorflow as tf

        ksize_list,
        strides,
        'VALID',
        is_training,
        data_format=data_format,
        no_activation=no_activation)

    if use_var:
        y = sbnet_module.sparse_scatter_var(
            q,
            indices.bin_counts,
            indices.active_block_indices,
            x,
            dynamic_bsize=tf.constant(block_params.bsize_out, dtype=tf.int32),
            dynamic_bstride=tf.constant(block_params.bsize_out, dtype=tf.int32),
            dynamic_boffset=tf.constant([0, 0], dtype=tf.int32),
            add=True,
            transpose=transpose)
    else:
        y = sbnet_module.sparse_scatter(
            q,
            indices.bin_counts,
            indices.active_block_indices,
            x,
            dynamic_bsize=tf.constant(block_params.bsize_out, dtype=tf.int32),
            dynamic_bstride=tf.constant(block_params.bsize_out, dtype=tf.int32),
            dynamic_boffset=tf.constant([0, 0], dtype=tf.int32),
            add=True,
