Skip to content

Instantly share code, notes, and snippets.

View SomeoneSerge's full-sized avatar
💭
Completely swamped again

Someone SomeoneSerge

💭
Completely swamped again
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SomeoneSerge
SomeoneSerge / inverse-transform.ipynb
Last active October 5, 2020 19:42
Fair inverse transform implementation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import torch
from functools import partial
from dataclasses import dataclass, astuple, asdict
from typing import List, Optional, Tuple, Union
from warnings import warn
from .numutils import unit
from .torch_fix import (
Matrices3x4,
Matrices4x4,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SomeoneSerge
SomeoneSerge / BUILD.downstream.bzl
Last active May 17, 2021 11:14
Eigen, SuiteSparse and sparseLM in Bazel
cc_library(
name="doctest",
hdrs=["@doctest//file"],
visibility=["//visibility:public"],
strip_include_prefix = "/external/doctest/file",
include_prefix = "doctest",
)
cc_library(
name="downstream",
cc_library(
name="downstream",
srcs=[
# ...
],
hdrs=[
# ...
],
deps=[
"@eigen//:eigen",