(
self,
name: str,
*,
prng_key: Tensor,
shape: Shape,
dtype: jnp.dtype,
axes: Optional[FanAxes] = None,
)
| 156 | """Base class for initializers.""" |
| 157 | |
| 158 | def initialize( |
| 159 | self, |
| 160 | name: str, |
| 161 | *, |
| 162 | prng_key: Tensor, |
| 163 | shape: Shape, |
| 164 | dtype: jnp.dtype, |
| 165 | axes: Optional[FanAxes] = None, |
| 166 | ) -> jnp.ndarray: |
| 167 | raise NotImplementedError(type(self)) |
| 168 | |
| 169 | def debug_string( |
| 170 | self, |
no outgoing calls