@@ -27,7 +27,7 @@ namespace {
2727void check_embedding_byte_args (
2828 const Tensor& weight,
2929 const Tensor& weight_scales,
30- const optional<Tensor>& opt_weight_zero_points,
30+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
3131 const int64_t weight_quant_min,
3232 const int64_t weight_quant_max,
3333 const Tensor& indices,
@@ -129,7 +129,7 @@ template <typename CTYPE_WEIGHT, typename CTYPE_PARAMS, typename CTYPE_OUT>
129129void embedding_byte_per_channel (
130130 const Tensor& weight,
131131 const Tensor& weight_scales,
132- const optional<Tensor>& opt_weight_zero_points,
132+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
133133 const Tensor& indices,
134134 Tensor& out) {
135135 // An embedding layer nn.Embedding(num_embeddings, embedding_dim) has a
@@ -218,7 +218,7 @@ Tensor& quantized_embedding_byte_out(
218218 // non quant input and returns fp output
219219 const Tensor& weight,
220220 const Tensor& weight_scales,
221- const optional<Tensor>& opt_weight_zero_points,
221+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
222222 const int64_t weight_quant_min,
223223 const int64_t weight_quant_max,
224224 const Tensor& indices,
@@ -253,7 +253,7 @@ Tensor& quantized_embedding_byte_out(
253253 KernelRuntimeContext& context,
254254 const Tensor& weight,
255255 const Tensor& weight_scales,
256- const optional<Tensor>& opt_weight_zero_points,
256+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
257257 int64_t weight_quant_min,
258258 int64_t weight_quant_max,
259259 const Tensor& indices,
@@ -277,7 +277,7 @@ Tensor& quantized_embedding_byte_dtype_out(
277277 // non quant input and returns fp output
278278 const Tensor& weight,
279279 const Tensor& weight_scales,
280- const optional<Tensor>& opt_weight_zero_points,
280+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
281281 const int64_t weight_quant_min,
282282 const int64_t weight_quant_max,
283283 const Tensor& indices,
@@ -316,7 +316,7 @@ Tensor& quantized_embedding_byte_dtype_out(
316316 KernelRuntimeContext& context,
317317 const Tensor& weight,
318318 const Tensor& weight_scales,
319- const optional<Tensor>& opt_weight_zero_points,
319+ const exec_aten:: optional<Tensor>& opt_weight_zero_points,
320320 int64_t weight_quant_min,
321321 int64_t weight_quant_max,
322322 const Tensor& indices,
0 commit comments