elasticai.creator.nn.fixed_point.hard_tanh.layer
#
Module Contents#
Classes#
API#
- class elasticai.creator.nn.fixed_point.hard_tanh.layer.HardTanh(total_bits: int, frac_bits: int, min_val: float = -1, max_val: float = 1)[source]#
Bases:
elasticai.creator.nn.design_creator_module.DesignCreatorModule
,elasticai.creator.base_modules.hard_tanh.HardTanh
- create_design(name: str) elasticai.creator.nn.fixed_point.hard_tanh.design.HardTanh [source]#