IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
瀏覽代碼

Copyright notes.

master
Stanislaw Adaszewski 4 年之前
父節點
當前提交
4f243fbc04
共有 14 個檔案被更改,包括 78 行新增0 行删除
  1. +5
    -0
      src/decagon_pytorch/__init__.py
  2. +6
    -0
      src/decagon_pytorch/batch.py
  3. +1
    -0
      src/decagon_pytorch/convolve/__init__.py
  4. +6
    -0
      src/decagon_pytorch/data.py
  5. +6
    -0
      src/decagon_pytorch/decode.py
  6. +6
    -0
      src/decagon_pytorch/dropout.py
  7. +6
    -0
      src/decagon_pytorch/layer/__init__.py
  8. +6
    -0
      src/decagon_pytorch/layer/convolve.py
  9. +6
    -0
      src/decagon_pytorch/layer/decode.py
  10. +6
    -0
      src/decagon_pytorch/layer/input.py
  11. +6
    -0
      src/decagon_pytorch/layer/layer.py
  12. +6
    -0
      src/decagon_pytorch/model.py
  13. +6
    -0
      src/decagon_pytorch/normalize.py
  14. +6
    -0
      src/decagon_pytorch/weights.py

+ 5
- 0
src/decagon_pytorch/__init__.py 查看文件

@@ -1,3 +1,8 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
from .weights import *
from .convolve import *
from .model import *


+ 6
- 0
src/decagon_pytorch/batch.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import scipy.sparse as sp


+ 1
- 0
src/decagon_pytorch/convolve/__init__.py 查看文件

@@ -3,6 +3,7 @@
# License: GPLv3
#
"""
This module implements the basic convolutional blocks of Decagon.
Just as a quick reminder, the basic convolution formula here is:


+ 6
- 0
src/decagon_pytorch/data.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
from collections import defaultdict
from .decode import BilinearDecoder
from .weights import init_glorot


+ 6
- 0
src/decagon_pytorch/decode.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import torch
from .weights import init_glorot
from .dropout import dropout


+ 6
- 0
src/decagon_pytorch/dropout.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import torch


+ 6
- 0
src/decagon_pytorch/layer/__init__.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
#
# This module implements a single layer of the Decagon
# model. This is going to be already quite complex, as


+ 6
- 0
src/decagon_pytorch/layer/convolve.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
from .layer import Layer
import torch
from ..convolve import DropoutGraphConvActivation


+ 6
- 0
src/decagon_pytorch/layer/decode.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
from .layer import Layer
import torch
from ..data import Data


+ 6
- 0
src/decagon_pytorch/layer/input.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
from .layer import Layer
import torch
from typing import Union, \


+ 6
- 0
src/decagon_pytorch/layer/layer.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import torch
from typing import List, \
Union


+ 6
- 0
src/decagon_pytorch/model.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
class Model(object):
def __init__(self, data):
self.data = data


+ 6
- 0
src/decagon_pytorch/normalize.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import numpy as np
import scipy.sparse as sp


+ 6
- 0
src/decagon_pytorch/weights.py 查看文件

@@ -1,3 +1,9 @@
#
# Copyright (C) Stanislaw Adaszewski, 2020
# License: GPLv3
#
import torch
import numpy as np


Loading…
取消
儲存