This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CO2 equivalent | Action | References | |
---|---|---|---|
0.015 lbs | Make a soda can out of recycled aluminum | https://www.climateaction.org/news/carbon-footprint-of-recycled-aluminium | |
0.3 lbs | Make a soda can out of virgin aluminum | https://www.climateaction.org/news/carbon-footprint-of-recycled-aluminium (can weighs 0.03 lbs) | |
0.9 lbs | Produce 1 pound of lentils | https://www.ewg.org/meateatersguide/a-meat-eaters-guide-to-climate-change-health-what-you-eat-matters/climate-and-environmental-impacts/ | |
0.9 lbs | Produce 1 pound of concrete | https://www.ecori.org/climate-change/2019/10/4/global-warming-has-a-co2ncrete-problem | |
1 lb | Leak 1 pound of R-1234yf refrigerant into atmosphere (from leaky car air conditioner) | https://www.racplus.com/news/un-climate-body-accepts-gwp-of-r1234yf-refrigerant-is-lower-than-co2-10-02-2014 | |
12 lbs | Burn 1 therm of natural gas | https://uuaa.org/images/CarbCalc7-11a.pdf | |
19 lbs | Burn 1 gallon of gasoline | https://www.eia.gov/environment/emissions/co2_vol_mass.php | |
22 lbs | Burn 1 gallon of diesel | https://www |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layer { | |
name: "data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
include { | |
phase: TRAIN | |
} | |
transform_param { | |
mirror: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Halide.h> | |
using namespace Halide; | |
int main(int argc, char **argv) { | |
UniformImage input(UInt(16), 2); | |
Func blur_x("blur_x"), blur_y("blur_y"); | |
Var x("x"), y("y"), xi("xi"), yi("yi"); | |
// The algorithm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char **argv) { | |
int imgWidth = 6400; int imgHeight = 4864; | |
Image input(imgWidth, imgHeight); | |
for (int y = 0; y < input.height(); y++) { | |
for (int x = 0; x < input.width(); x++) { | |
input(x, y) = rand() & 0xfff; | |
} | |
} |