qkeras.ops_portable
Functions
|
Portable replacement for bias_add_portable. |
Return a Python bool if x is statically known, else None. |
|
|
|
- qkeras.ops_portable.bias_add_portable(x, bias, data_format='channels_last')[source]
Portable replacement for bias_add_portable.
- Parameters:
x – input tensor, shape (N, H, W, C) if channels_last else (N, C, H, W)
bias – 1D tensor of shape (C,)
data_format – “channels_last” or “channels_first”