According to sources inside the Internet company, who asked not to be named because they are not authorized to speak for the company, Yahoo will announce a big round of layoffs early Wednesday morning. The layoffs, which were first reported by the blog AllThingsD late Tuesday afternoon, will affect all units of the company globally. The company’s product division is expected to sustain the heaviest losses, these people said, while its media division is expected to stay relatively intact.

The company declined to comment, but it is expected to make the announcement before the stock market opens for trading at 9:30 a.m. in New York.

The layoffs are part of a broader reorganization under Scott Thompson, Yahoo’s new chief executive, who joined the company from PayPal in January. According to sources, Mr. Thompson aims to reinvent the company with new products and services.

A larger overhaul, which would include replacement of some senior executives, is also expected soon.

In an earnings call last January, Mr. Thompson hinted that much of Yahoo’s future innovation would derive from its wealth of data on roughly 700 million users. Yahoo has one of the largest audiences on the Web.

“The data is very, very impressive,” Mr. Thompson said in the call. “You’ll see some interesting, data-oriented experiences coming out sooner versus later.”

But several months into his new role, sources say the ability of Yahoo to commercialize and leverage its data is becoming less clear.

It is simultaneously engaged in a patent dispute with Facebook. After filing a lawsuit saying Facebook had infringed on its patents last month, Facebook fought back with a countersuit of its own earlier Tuesday. In its filing, Facebook claimed Yahoo has violated patents that cover some 80 percent of the its revenue last year, amounting to more than $4 billion.