Merge branch 'develop' into feat/pairlistconfig
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
import torch.nn as nn
|
from torch import nn
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -68,7 +68,7 @@ class PyTorchTransformerModel(nn.Module):
|
|||||||
return x
|
return x
|
||||||
|
|
||||||
|
|
||||||
class PositionalEncoding(torch.nn.Module):
|
class PositionalEncoding(nn.Module):
|
||||||
def __init__(self, d_model, max_len=5000):
|
def __init__(self, d_model, max_len=5000):
|
||||||
"""
|
"""
|
||||||
Args
|
Args
|
||||||
|
|||||||
Reference in New Issue
Block a user