[External Codegen] Constant tensors in c-codegen

Thanks for the response! After reading my initial question again I don’t think I explained the issue very well, sorry about that. I’m actually already at the stage of having used BindParamsByName on the function to receive relay that looks something like this:

%6 = fn (%acl_input1: Tensor[(1, 226, 226, 64), float32], Compiler="acl", ExternalSymbol="acl_19", Primitive=1) -> Tensor[(1, 224, 224, 64), float32] {
    nn.conv2d(%acl_input1, meta[relay.Constant][2], padding=[0, 0, 0, 0], channels=64, kernel_size=[3, 3], data_layout="NHWC", kernel_layout="HWIO")
};

However, when doing the actual codegen I’m not sure how the constant should be represented in c++. It could be a hard-coded vector e.g. ACL_Conv2d(acl_input0, std::vector({1, 2, ...}), ...) but this wouldn’t be effective for a large tensor. Is there a way instead to deal with constants a little bit like normal inputs so we can call for example ACL_Conv2d(acl_input0, acl_params0) where acl_params0 is a pointer to params input using set_input(**params)? Hope this makes more sense.