This commit removes all the allocate method call with "object" (which is
deprecated).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
new_obj->bag(new_bag);
new_obj->layout(coco::KernelLayouts::NHWC::create(ker_shape));
- d->f32()->allocate(new_obj);
+ d->f32()->allocate(new_bag);
auto src = d->f32()->read(old_obj);
auto dst = d->f32()->access(new_obj);
ker_obj->layout(NCHW::create(as_kernel_shape(ker_shape)));
// Create a kernel overlay for the kernel object
- data->f32()->allocate(ker_obj);
+ data->f32()->allocate(ker_bag);
// Initialize the kernel overlay
assert(weight_ctx.blob_count(layer.name()) >= 1);
// Create a kernel overlay for the kernel object
// TODO : support for other types
- d->f32()->allocate(ker_obj);
+ d->f32()->allocate(ker_bag);
TflBufferContext::TflBuffer<float> buffer = buffer_context.tensor_buffer<float>(graph, ker_idx);