nn
Lambda
Bases: nn.Module
Source code in glasses/nn/__init__.py
__init__(lambd)
An utility Module, it allows custom function to be passed
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lambd |
Callable[Tensor]
|
A function that does something on a tensor |
required |
Usage: