Fiscal Years
2018
2017
Revenue (1)
$—
$660
Cost of revenue (1)
(596)
2,252
Gross profit (loss)
596
(1,592)
Operating expenses:   
Research and development (1)
5,251
29,167
Selling, general and administrative (1)
1,560
13,840
Total operating expenses
6,811
43,007
Loss from discontinued operations (1)
(6,215)
(44,599)
Other income (2)
—
7,500
Gain on sale (2)
—
18,022
Loss income before income taxes
(6,215)
(19,077)
Income tax provision (benefit)
—
—
Loss income from discontinued operations
(6,215)
(19,077)
Cash flow used in Operating Activities (1)
(10,734)
(42,776)
Cash flow from Investing Activities (2)
—
25,522

text: Discontinued Operations
text: On October 27, 2017, we entered into a purchase agreement to sell the Compute business. In consideration for the transfer and sale of the Compute business, we received an equity interest in the buyer valued at approximately $36.5 million, representing the carrying value of the assets divested and representing less than 20.0% of the buyer's total outstanding equity. The operations of the Compute business were accounted for as discontinued operations through the date of divestiture.
text: We also entered into a transition services agreement (the "Compute TSA"), pursuant to which we agreed to perform certain primarily general and administrative functions on the buyer's behalf during a migration period and for which we are reimbursed for costs incurred.
text: During the fiscal year 2019, we received $0.1 million of reimbursements under the Compute TSA, which was recorded as a reduction of our general and administrative expenses. During the fiscal year 2018, we received $3.6 million of reimbursements under the Compute TSA, which was recorded as a reduction of our general and administrative expenses.
text: In August of fiscal year 2015, we sold our Automotive business, as the Automotive business was not consistent with our long-term strategic vision from both a growth and profitability perspective.
text: Additionally, we entered into a Consulting Agreement with the buyer pursuant to which we were to provide the buyer with certain non-design advisory services for a period of two years following the closing of the transaction for up to $15.0 million, from which we have recorded $7.5 million as other income during both fiscal years 2017 and 2016. No income was recognized during fiscal years 2019 or 2018. During fiscal year 2017, we received $18.0 million, the full amount of the indemnification escrow.
text: The accompanying Consolidated Statements of Operations includes the following operating results related to these discontinued operations (in thousands):
text: (1) Amounts are associated with the Compute business. (2) Amounts are associated with the Automotive business.

Questions:
question: When did the company enter into purchase agreement to sell the Compute business?
answer: October 27, 2017
question: What was the Revenue in 2018 and 2017 respectively?
answer: $—
$660
scale: thousand
question: What was the amount of reimbursements under the Compute TSA in 2019?
answer: $0.1 million
question: In which year was Cost of revenue negative?
answer: 2018
derivation: locate and analyze Cost of revenue (1) in row 4
question: What was the average Research and development for 2017 and 2018?
answer: 17209
derivation: (5,251 + 29,167) / 2
scale: thousand
question: What was the change in the Selling, general and administrative expense from 2017 to 2018?
answer: -12280
derivation: 1,560 - 13,840
scale: thousand