摘要:
# coding: utf-8import numpy as np def identity_function(x): return x def step_function(x): return np.array(x > 0, dtype=np.int) def sigmoid(x): return 阅读全文
posted @ 2020-05-05 13:50
啊啊啊啊啊123456
阅读(269)
评论(0)
推荐(0)
摘要:
# coding: utf-8import numpy as np def _numerical_gradient_1d(f, x): h = 1e-4 # 0.0001 grad = np.zeros_like(x) for idx in range(x.size): tmp_val = x[id 阅读全文
posted @ 2020-05-05 13:49
啊啊啊啊啊123456
阅读(1182)
评论(0)
推荐(0)

浙公网安备 33010602011771号