Skip to content

Commit

Permalink
add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddeshSambasivam committed Jun 27, 2021
1 parent 7acfa1e commit 777513b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions matterix/loss_fn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TODO: MSE, RMSE, MAE, Binary cross-entropy, Categorical cross-entropy, kullback leibler divergence loss
10 changes: 8 additions & 2 deletions matterix/nn.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# TODO: Module class to represent neural networks
# TODO: Loss functions
# TODO: Optimizers


class Module:
def __init__(self) -> None:
pass

def zero_grad(self) -> None:
pass
2 changes: 1 addition & 1 deletion matterix/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ArrayableType = Union[float, list, np.ndarray]
TensorableType = Union[float, np.ndarray, "Tensor"]

# TODO: randn, normal, randint
# TODO: randn, normal, randint, argmax


def enforceTensor(_input: TensorableType) -> "Tensor":
Expand Down

0 comments on commit 777513b

Please sign in to comment.