aws configure set preview.efs true
aws efs describe-file-systems --profile TEST --region us-east-2
{
| #include <stdio.h> | |
| #include<common.h> | |
| #include <cassert> | |
| /* | |
| Implement a kernel that computes the dot-product of a and b and stores it in out. | |
| You have 1 thread per position. | |
| You only need 2 global reads and 1 global write per thread. | |
| Note: For this problem you don't need to worry about number of shared reads. |
| //"avcoti" hexadecimal representation of the following three bytes in the (subset) sequence parameter set Network Abstraction Layer (NAL) unit specified in AVC: 1.profile_idc, 2.the byte containing the constraint_set flags (currently constraint_set0_flag through constraint_set5_flag, and the reserved_zero_2bits), 3.level_idc. | |
| AVC1_CODEC_MAP = { | |
| ,"avc1.66.30": {profile:"Baseline", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2) | |
| "avc1.42001e": {profile:"Baseline", level:3.0, max_bit_rate:10000} | |
| ,"avc1.42001f": {profile:"Baseline", level:3.1, max_bit_rate:14000} | |
| //other variations | |
| ,"avc1.77.30": {profile:"Main", level:3.0, max_bit_rate:10000} //iOS friendly variation (iOS 3.0-3.1.2) | |
| ,"avc1.4d001e": {profile:"Main", level:3.0, max_bit_rate:10000} | |
| ,"avc1.4d001f": {profile:"Main", level:3.1, max_bit_rate:14000} |
| import math | |
| import numpy as np | |
| import gym | |
| import tensorflow as tf | |
| import matplotlib | |
| from matplotlib import pyplot as plt | |
| from mpl_toolkits.mplot3d import Axes3D |
| import math | |
| import numpy as np | |
| import gym | |
| import tensorflow as tf | |
| import matplotlib | |
| from matplotlib import pyplot as plt | |
| from mpl_toolkits.mplot3d import Axes3D |
| # https://dl.dropboxusercontent.com/u/47591917/cliff_world_episode_length.png | |
| # https://dl.dropboxusercontent.com/u/47591917/cliff_world_episode_reward.png | |
| # https://dl.dropboxusercontent.com/u/47591917/cliff_world_episode_timestamp.png | |
| # https://dl.dropboxusercontent.com/u/47591917/cliff_world_path.png | |
| import numpy as np | |
| import matplotlib | |
| import math | |
| import pandas as pd | |
| from matplotlib import pyplot as plt |
| #graph solution | |
| # https://dl.dropboxusercontent.com/u/47591917/windy_gride_episode_length_sarsa.png | |
| # https://dl.dropboxusercontent.com/u/47591917/windy_gride_episode_reward_sarsa.png | |
| # https://dl.dropboxusercontent.com/u/47591917/windy_gride_episode_timestamp_sarsa.png | |
| # https://dl.dropboxusercontent.com/u/47591917/windy_gride_path_sarsa.png | |
| import numpy as np | |
| import matplotlib | |
| import math | |
| import pandas as pd | |
| from matplotlib import pyplot as plt |
| #!#/usr/bin/python2 | |
| import numpy as np | |
| import matplotlib | |
| import math | |
| from matplotlib import pyplot as plt | |
| from mpl_toolkits.mplot3d import Axes3D | |
| import matplotlib.mlab as mlab | |
| from matplotlib.patches import Circle, Wedge, Polygon | |
| from matplotlib.collections import PatchCollection | |
| import matplotlib.patches as patches |
| #!#/usr/bin/python2 | |
| #plot link: https://dl.dropboxusercontent.com/u/47591917/easy21_mc.png | |
| import numpy as np | |
| import matplotlib | |
| from matplotlib import pyplot as plt | |
| from mpl_toolkits.mplot3d import Axes3D | |
| RED = 0 | |
| BLACK = 1 |
| #resultant graphs are here: https://dl.dropboxusercontent.com/u/47591917/demo.png | |
| import numpy as np | |
| import math | |
| from matplotlib import pyplot as plt | |
| class State(object): | |
| def __init__(self, capital): | |
| self.capital = capital | |
| def staked(self, stake): |