class_docstr: Block for MobileNetV1.
class_docstr_tok: ["Block","for","MobileNetV1","."]
code: def __init__(
      self,
      channels: int,
      stride: int,
      use_bn: bool = True,
      name: Optional[str] = None,
  ):
      super().__init__(name=name)
      self.channels = channels
      self.stride = stride
      self.use_bn = use_bn
      self.with_bias = not use_bn
  
file_path: dm-haiku/haiku/_src/nets/mobilenetv1.py
imports: from collections.abc import Sequence
  from typing import Optional
  from haiku._src import basic
  from haiku._src import batch_norm
  from haiku._src import conv
  from haiku._src import depthwise_conv
  from haiku._src import module
  from haiku._src import reshape
  import jax
  import jax.numpy
label_desc: Use image node_id 1 to create a new MobileNetV1Block object from inherited base classes: hk with example: obj = MobileNetV1Block(channels, stride, use_bn, name)