To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original re...
Description When importing DeepAREstimator from gluonts, looks like the component.py code checks the mxnet (imported as mx) - mx.gluon and fails with an AttributeError - module 'mxnet.gluon' has no attribute 'ParameterDict' Machine: Mac ...
raise AttributeError('mxnet.numpy.ndarray object has no attribute diag') def sum(self, axis=None, dtype=None, out=None, keepdims=False): # pylint: disable=arguments-differ """Convenience fluent method for :py:func:`sum`. The arguments are the same as for :py:func:`sum`, with this ar...