Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ndarray: implement fill#297

Merged
pluskid merged 1 commit into
dmlc:masterfrom
iblislin:nd-fill
Oct 24, 2017
Merged

ndarray: implement fill#297
pluskid merged 1 commit into
dmlc:masterfrom
iblislin:nd-fill

Conversation

@iblislin

Copy link
Copy Markdown
Member

It serve as an API corresponds to Python's mx.nd.full()

@codecov-io

codecov-io commented Oct 10, 2017

Copy link
Copy Markdown

Codecov Report

Merging #297 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #297      +/-   ##
==========================================
+ Coverage    69.7%   69.79%   +0.09%     
==========================================
  Files          25       25              
  Lines        1921     1927       +6     
==========================================
+ Hits         1339     1345       +6     
  Misses        582      582
Impacted Files Coverage Δ
src/ndarray.jl 84.91% <100%> (+0.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15def2c...283967a. Read the comment docs.

Comment thread src/ndarray.jl
fill(x, dims...)

Create an `NDArray` filled with the value `x`, like `Base.fill`.
"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop the ctx argument here, and maybe call this fill!?

It serve as an API corresponds to Python's `mx.nd.full()`
@iblislin

Copy link
Copy Markdown
Member Author

ready for review

@pluskid pluskid merged commit 81b134f into dmlc:master Oct 24, 2017
@iblislin iblislin deleted the nd-fill branch November 9, 2017 06:36
@iblislin iblislin added this to the v0.3.0 milestone Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants