Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Python SemanticPointer.normalize示例
编程语言:
Python
命名空间/包名称:
nengo.spa.pointer
类/类型:
SemanticPointer
方法/功能:
normalize
hotexamples.com的示例:
2
Python SemanticPointer.normalize - 已找到2个示例
。这些是从开源项目中提取的最受好评的
nengo.spa.pointer.SemanticPointer.normalize
现实Python示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
SemanticPointer(23)
length(7)
copy(4)
dot(4)
compare(2)
convolve(2)
distance(2)
make_unitary(2)
get_convolution_matrix(1)
mse(1)
normalize(1)
randomize(1)
常用方法
SemanticPointer (23)
length (7)
copy (4)
dot (4)
compare (2)
convolve (2)
distance (2)
make_unitary (2)
get_convolution_matrix (1)
mse (1)
常用方法
normalize (1)
randomize (1)
示例#1
0
显示文件
def test_normalize(): a = SemanticPointer([1, 1]) a.normalize() assert np.allclose(a.length(), 1)
示例#2
0
显示文件
文件:
test_pointer.py
项目:
4n6strider/nengo
def test_normalize(): a = SemanticPointer([1, 1]) a.normalize() assert np.allclose(a.length(), 1)