File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -375,16 +375,18 @@ machines(::Source) = Machine[]
375
375
_cache_status (:: Machine{<:Any,true} ) = " caches data"
376
376
_cache_status (:: Machine{<:Any,false} ) = " does not cache data"
377
377
378
+ Base. show (io:: IO , mach:: Machine ) = print (io, " machine($(mach. model) , …)" )
378
379
function Base. show (io:: IO , :: MIME"text/plain" , mach:: Machine{M} ) where M
379
- show (io, mach)
380
+ # show(io, mach)
381
+ print (io, " Machine" )
380
382
print (io, " trained $(mach. state) time" )
381
383
if mach. state == 1
382
384
print (io, " ;" )
383
385
else
384
386
print (io, " s;" )
385
387
end
386
388
println (io, _cache_status (mach))
387
- println (io, " model: $M " )
389
+ println (io, " model: $(mach . model) " )
388
390
println (io, " args: " )
389
391
for i in eachindex (mach. args)
390
392
arg = mach. args[i]
You can’t perform that action at this time.
0 commit comments