license import { ENGINE } from '../engine' ; import { Fill , FillAttrs } from '../kernel_names' ; import { NamedAttrMap } from '../kernel_registry' ; import { Tensor } from '../tensor' ; import { DataType , Rank , ShapeMap } from '../types' ; param shape param value param dtype doc function fill < R extends Rank > ( shape , value , dtype ? ) { const attrs = { shape , value , dtype } ; return ENGINE . runKernel ( Fill , { } , attrs as { } as NamedAttrMap ) ; } export { fill } ;