SNN FrameWork
API Documentation:
SNN2
User Guide:
Installation
Command Line Arguments
Configuration Settings
First Example
Contributing
SNN FrameWork
src.model.custom.siamese module
View page source
src.model.custom.siamese module
SiameseModel
Use this model to create the siamese model
class
src.model.custom.siamese.
SiameseModel
(
*
args
,
**
kwargs
)
Bases:
Model
call
(
inputs
,
**
kwargs
)
get_distances
(
data
,
**
kwargs
)
→
Tuple
[
Any
,
Any
]
predict_step
(
data
)
test_step
(
data
)
train_step
(
data
)