def make_tensor(dtype, ndim, name):
    _check_dtype_mistake(dtype)
    return df.th.tensor.TensorType(dtype, (False,) * ndim)(name)
dataset/ETHPy150Open lucasb-eyer/DeepFried2/DeepFried2/utils.py/make_tensor/original