def test_mxnet_transformer_initialize_with_model(transformer_initialize): t = MXNetTransformer(model=Mock()) t.initialize() transformer_initialize.assert_not_called()
def test_mxnet_transformer_initialize_without_model(transformer_initialize): t = MXNetTransformer() t.initialize() transformer_initialize.assert_called_once()