integrate reviews from ChristophRaab:master
This commit is contained in:
parent
00615ae837
commit
c204bc8e1f
@ -1,12 +1,9 @@
|
|||||||
import torch
|
import torch
|
||||||
from prototorch.functions.distances import (euclidean_distance_matrix,
|
from prototorch.functions.distances import euclidean_distance_matrix
|
||||||
tangent_distance)
|
|
||||||
from prototorch.functions.helper import _check_shapes, _int_and_mixed_shape
|
|
||||||
from prototorch.functions.normalization import orthogonalization
|
from prototorch.functions.normalization import orthogonalization
|
||||||
from prototorch.modules.prototypes import Prototypes1D
|
from prototorch.modules.prototypes import Prototypes1D
|
||||||
from torch import nn
|
from torch import nn
|
||||||
|
|
||||||
|
|
||||||
class GTLVQ(nn.Module):
|
class GTLVQ(nn.Module):
|
||||||
r""" Generalized Tangent Learning Vector Quantization
|
r""" Generalized Tangent Learning Vector Quantization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user