Skip to content

Commit

Permalink
Update softmax.cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Oct 22, 2023
1 parent 803fbce commit 162f528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators/nn/functional/softmax.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ use debug::PrintTrait;
/// Cf: NNTrait::softmax docstring
fn softmaxWide2(z: @Tensor<FP16x16>, axis: usize) -> Tensor<FP16x16> {
let exp_tensor: Tensor<FP16x16W> = exp_upcast(*z);
(*exp_tensor.data.at(0)).print();
(exp_tensor.data.len()).print();

// let sum = exp_tensor.reduce_sum(axis, true);
// (*sum.data.at(0)).print();
Expand Down

0 comments on commit 162f528

Please sign in to comment.