msracver / Relation-Networks-for-Object-Detection

Relation Networks for Object Detection
MIT License
1.09k stars 190 forks source link

What does mx.sym.full stand for? #36

Closed wangchu1 closed 5 years ago

wangchu1 commented 5 years ago

Title. Many thanks for the help!

Here is the location of this function call: line 33 of

https://github.com/msracver/Relation-Networks-for-Object-Detection/blob/master/relation_rcnn/symbols/resnet_v1_101_rcnn_attention_1024_pairwise_position_multi_head_16.py#L33

looks like: mx.sym.full((1,), wave_length)

Best, Chu.

wangchu1 commented 5 years ago

Should have searched deeper into the documentation. Found answer by myself. Posted here in case anyone come across this concern: full | Returns a new array of given shape and type, filled with the given value val.

Source: http://mxnet.incubator.apache.org/test/versions/0.10/api/python/ndarray.html