summaryrefslogtreecommitdiff
path: root/candle-onnx
diff options
context:
space:
mode:
Diffstat (limited to 'candle-onnx')
-rw-r--r--candle-onnx/src/eval.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/candle-onnx/src/eval.rs b/candle-onnx/src/eval.rs
index 684776c2..c0ad8668 100644
--- a/candle-onnx/src/eval.rs
+++ b/candle-onnx/src/eval.rs
@@ -254,6 +254,12 @@ pub fn simple_eval(
let output = input0.broadcast_div(input1)?;
values.insert(node.output[0].clone(), output);
}
+ "Pow" => {
+ let input0 = get(&node.input[0])?;
+ let input1 = get(&node.input[1])?;
+ let output = input0.broadcast_pow(input1)?;
+ values.insert(node.output[0].clone(), output);
+ }
"Equal" => {
let input0 = get(&node.input[0])?;
let input1 = get(&node.input[1])?;