-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
category: questionA question about somethingA question about somethingmodule: torchlibRelated to the torch/aten function lib in developmentRelated to the torch/aten function lib in development
Description
As commented in #773, @gramalingam is curious what the intent of these lines are:
onnxscript/onnxscript/function_libs/torch_lib/ops/core.py
Lines 4435 to 4438 in f106c1e
| # Cannot return 2 dup output, so have to do twice with different variable name | |
| empty_mean = op.Cast(op.Shape(input, start=0, end=0), to=FLOAT.dtype) | |
| empty_var = op.Cast(op.Shape(input, start=0, end=0), to=FLOAT.dtype) | |
| return norm, empty_mean, empty_var |
Reactions are currently unavailable
Metadata
Metadata
Labels
category: questionA question about somethingA question about somethingmodule: torchlibRelated to the torch/aten function lib in developmentRelated to the torch/aten function lib in development