-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update for pyo3 0.21. * Also adapt the RL example. * Fix for the pyo3-onnx bindings... * Print details on failures. * Revert pyi.
- Loading branch information
1 parent
5522bbc
commit b20acd6
Showing
8 changed files
with
84 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated content DO NOT EDIT | ||
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, Sequence | ||
from os import PathLike | ||
from candle.typing import _ArrayLike, Device, Scalar, Index, Shape | ||
from candle import Tensor, DType, QTensor | ||
|
||
@staticmethod | ||
def silu(tensor: Tensor) -> Tensor: | ||
""" | ||
Applies the Sigmoid Linear Unit (SiLU) function to a given tensor. | ||
""" | ||
pass | ||
|
||
@staticmethod | ||
def softmax(tensor: Tensor, dim: int) -> Tensor: | ||
""" | ||
Applies the Softmax function to a given tensor.# | ||
""" | ||
pass |
Oops, something went wrong.