Paragraphs are separated by a blank line.
2nd paragraph. Italic, bold, and monospace
. Itemized lists
look like:
- this one
- that one
This is test page for Gist. |
def fibonacci(num): | |
if num <= 2: | |
return 1 | |
return fibonacci(num - 1) + fibonacci(num - 2) | |
def exponential(base, exp): | |
value = 1 | |
for i in range(exp): | |
value *= base | |
return value |
<? | |
echo(2); |
class tf_Spectrum: | |
Color = tf.constant([ | |
[0, 0, 128], | |
[0, 0, 255], | |
[0, 255, 0], | |
[255, 255, 0], | |
[255, 0, 0] | |
], dtype = tf.float32) | |
def tf_gray2color(gray, spectrum = tf_Spectrum.Color): |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ReadOnlyAttribute : PropertyAttribute | |
{ | |
} |
import scipy.io | |
import numpy as np | |
FLIC = scipy.io.loadmat('FLIC/examples.mat') | |
filepath_idx = 1 | |
print(np.squeeze(np.squeeze(FLIC['examples']['filepath'])[filepath_idx])) | |
print(np.squeeze(np.squeeze(FLIC['examples']['imgdims'])[filepath_idx])) | |
print(np.squeeze(np.squeeze(FLIC['examples']['istrain'])[filepath_idx])) | |
coord = {'x': 0, 'y': 1} | |
print(np.squeeze(np.squeeze(np.squeeze(FLIC['examples'])[filepath_idx])['coords'])[coord['x']][7]) |