decomon.types package
Module contents
Typing module
- decomon.types.BackendTensor = typing.Any
Type for backend tensors.
If the backend is tensorflow, this should be tf.Tensor. For now, there is now exposed way to check wether a tensor is a backend tensor or not (this is a private function in keras)
- decomon.types.Tensor
Type for any tensor, from keras or backend.
alias of
Union
[KerasTensor
,Any
]