ashpy.ashtypes¶
Custom Type-Aliases. Mostly here for brevity in documentation.
TScalar = typing.Union
[int
, float
]
TWeight = typing.Union
[TScalar, tf.Tensor
,
typing.Callable
[…, TScalar]]
Custom Type-Aliases. Mostly here for brevity in documentation.
TScalar = typing.Union
[int
, float
]
TWeight = typing.Union
[TScalar, tf.Tensor
,
typing.Callable
[…, TScalar]]