def METHOD_NAME():
    shape = [1, 2, 3]
    dtype = "uint8"
    is_constant = True
    compression_ratio = 0.5
    size = 6
    tensor = cs.Tensor(shape, dtype, is_constant, compression_ratio)
    assert tensor.shape == shape
    assert tensor.dtype == dtype
    assert tensor.is_constant == is_constant
    assert tensor.compression_ratio == compression_ratio
    assert tensor.size == size