import torch


def create_pinhole(fx, fy, cx, cy, height, width, rx, ry, rz, tx, ty, tz):
    """Creates pinhole model encoded to a torch.Tensor.
    """
    return torch.Tensor([
        [fx, fy, cx, cy, height, width, rx, ry, rz, tx, ty, tz]])