dmlc / MXNet.jl

MXNet Julia Package - flexible and efficient deep learning in Julia
371 stars 70 forks source link

ndarray: fix type convertion in setindex! #398

Closed iblislin closed 6 years ago

iblislin commented 6 years ago

Make this case work

x = mx.NDArray([1, 2, 3]);
x[:] = 1.1
codecov-io commented 6 years ago

Codecov Report

Merging #398 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #398   +/-   ##
=======================================
  Coverage   72.05%   72.05%           
=======================================
  Files          27       27           
  Lines        2068     2068           
=======================================
  Hits         1490     1490           
  Misses        578      578
Impacted Files Coverage Δ
src/ndarray.jl 80.65% <100%> (ø) :arrow_up:

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 ae425bf...5806d0a. Read the comment docs.